mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
sandbox: Add a compatible string for spltest
At present this driver does not have a compatible string. For it to be used with the coming of-platadata, it must have one. Update it accordingly. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f05a7c5ba4
commit
b060333567
@ -8,8 +8,14 @@
|
|||||||
#include <dm.h>
|
#include <dm.h>
|
||||||
#include <dt-structs.h>
|
#include <dt-structs.h>
|
||||||
|
|
||||||
|
static const struct udevice_id sandbox_spl_ids[] = {
|
||||||
|
{ .compatible = "sandbox,spl-test", },
|
||||||
|
{} /* sentinel */
|
||||||
|
};
|
||||||
|
|
||||||
U_BOOT_DRIVER(sandbox_spl_test) = {
|
U_BOOT_DRIVER(sandbox_spl_test) = {
|
||||||
.name = "sandbox_spl_test",
|
.name = "sandbox_spl_test",
|
||||||
.id = UCLASS_MISC,
|
.id = UCLASS_MISC,
|
||||||
|
.of_match = sandbox_spl_ids,
|
||||||
.flags = DM_FLAG_PRE_RELOC,
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user