mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
sandbox: Drop unnecessary test node
The spl-test4 node deliberately has an invalid compatible string. This causes a warning from dtoc and the check it does is not really necessary. Drop it, to avoid the warning and associated confusion. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
2d6bf754ce
commit
acfb5308f5
|
@ -248,11 +248,6 @@
|
||||||
stringarray = "one";
|
stringarray = "one";
|
||||||
};
|
};
|
||||||
|
|
||||||
spl-test4 {
|
|
||||||
u-boot,dm-pre-reloc;
|
|
||||||
compatible = "sandbox,spl-test.2";
|
|
||||||
};
|
|
||||||
|
|
||||||
spl-test5 {
|
spl-test5 {
|
||||||
u-boot,dm-tpl;
|
u-boot,dm-tpl;
|
||||||
compatible = "sandbox,spl-test";
|
compatible = "sandbox,spl-test";
|
||||||
|
|
|
@ -17,7 +17,6 @@ def test_spl_devicetree(u_boot_console):
|
||||||
assert "u-boot,dm-spl" not in output
|
assert "u-boot,dm-spl" not in output
|
||||||
assert "u-boot,dm-tpl" not in output
|
assert "u-boot,dm-tpl" not in output
|
||||||
|
|
||||||
assert "spl-test4" in output
|
|
||||||
assert "spl-test5" not in output
|
assert "spl-test5" not in output
|
||||||
assert "spl-test6" not in output
|
assert "spl-test6" not in output
|
||||||
assert "spl-test7" in output
|
assert "spl-test7" in output
|
||||||
|
|
|
@ -44,11 +44,6 @@
|
||||||
longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
|
longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
|
||||||
};
|
};
|
||||||
|
|
||||||
spl-test4 {
|
|
||||||
u-boot,dm-pre-reloc;
|
|
||||||
compatible = "sandbox,spl-test.2";
|
|
||||||
};
|
|
||||||
|
|
||||||
i2c@0 {
|
i2c@0 {
|
||||||
compatible = "sandbox,i2c-test";
|
compatible = "sandbox,i2c-test";
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
|
|
|
@ -204,8 +204,6 @@ struct dtd_sandbox_spl_test {
|
||||||
\tconst char *\tstringarray[3];
|
\tconst char *\tstringarray[3];
|
||||||
\tconst char *\tstringval;
|
\tconst char *\tstringval;
|
||||||
};
|
};
|
||||||
struct dtd_sandbox_spl_test_2 {
|
|
||||||
};
|
|
||||||
''', data)
|
''', data)
|
||||||
|
|
||||||
self.run_test(['platdata'], dtb_file, output)
|
self.run_test(['platdata'], dtb_file, output)
|
||||||
|
@ -286,16 +284,6 @@ U_BOOT_DEVICE(spl_test3) = {
|
||||||
\t.parent_idx\t= -1,
|
\t.parent_idx\t= -1,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Node /spl-test4 index 5 */
|
|
||||||
static struct dtd_sandbox_spl_test_2 dtv_spl_test4 = {
|
|
||||||
};
|
|
||||||
U_BOOT_DEVICE(spl_test4) = {
|
|
||||||
\t.name\t\t= "sandbox_spl_test_2",
|
|
||||||
\t.plat\t= &dtv_spl_test4,
|
|
||||||
\t.plat_size\t= sizeof(dtv_spl_test4),
|
|
||||||
\t.parent_idx\t= -1,
|
|
||||||
};
|
|
||||||
|
|
||||||
''' + C_EMPTY_POPULATE_PHANDLE_DATA, data)
|
''' + C_EMPTY_POPULATE_PHANDLE_DATA, data)
|
||||||
|
|
||||||
def test_driver_alias(self):
|
def test_driver_alias(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user