On 4 July 2016 at 11:58, Simon Glass <s...@chromium.org> wrote: > Add a simple test which checks that the of-platdata system is working > correctly. The sequence is as follows: > > - SPL starts up and probes all the UCLASS_MISC drivers > - There are 3 of these in sandbox.dts > - Therefore there should be 3 U_BOOT_DEVICE() declarations in dt-platdata.c > - These should produce 3 sandbox_spl_test devices > - Each device prints out its platform data when probed > - This test checks for this output and compares it against expectations > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > Changes in v3: > - Add new patch to test of-platdata > > Changes in v2: None > > test/py/tests/test_ofplatdata.py | 42 > ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > create mode 100644 test/py/tests/test_ofplatdata.py
Applied to u-boot-dm _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot