From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/u-boot/drivers/misc/spltest_sandbox.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 roms/u-boot/drivers/misc/spltest_sandbox.c (limited to 'roms/u-boot/drivers/misc/spltest_sandbox.c') diff --git a/roms/u-boot/drivers/misc/spltest_sandbox.c b/roms/u-boot/drivers/misc/spltest_sandbox.c new file mode 100644 index 000000000..6b9701a06 --- /dev/null +++ b/roms/u-boot/drivers/misc/spltest_sandbox.c @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2016 Google, Inc + * Written by Simon Glass <sjg@chromium.org> + */ + +#include <common.h> +#include <dm.h> +#include <dt-structs.h> + +static const struct udevice_id sandbox_spl_ids[] = { + { .compatible = "sandbox,spl-test", }, + {} /* sentinel */ +}; + +U_BOOT_DRIVER(sandbox_spl_test) = { + .name = "sandbox_spl_test", + .id = UCLASS_MISC, + .of_match = sandbox_spl_ids, + .flags = DM_FLAG_PRE_RELOC, +}; -- cgit