Files
Linux_Drivers/u-boot-2021.10/drivers/misc/spltest_sandbox.c
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

22 lines
449 B
C

// 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,
};