1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (c) 2016 Google, Inc
4  * Written by Simon Glass <sjg@chromium.org>
5  */
6 
7 #include <dm.h>
8 #include <dt-structs.h>
9 
10 static const struct udevice_id sandbox_spl_ids[] = {
11 	{ .compatible = "sandbox,spl-test", },
12 	{}  /* sentinel */
13 };
14 
15 U_BOOT_DRIVER(sandbox_spl_test) = {
16 	.name	= "sandbox_spl_test",
17 	.id	= UCLASS_MISC,
18 	.of_match = sandbox_spl_ids,
19 	.flags	= DM_FLAG_PRE_RELOC,
20 };
21