test: check u-boot properties in SPL device tree
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 21 May 2019 17:19:11 +0000 (19:19 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit099ed45c6c6e88eb2783589027b610f2b9a2f71f
tree21830ea56544f366258877a402950fe6894876c7
parent848e94d0ba7296d81e3c00b01bad1c13741497fb
test: check u-boot properties in SPL device tree

Add a test to check the management of the U-boot relocation properties
for device tree SPL generation (fdtgrep result) and platdata:
- 'dm-pre-proper' and 'dm-tpl' not included in SPL
- 'dm-pre-reloc' and 'dm-spl' included in SPL

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dtsi
test/py/tests/test_ofplatdata.py