diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 11:58:41 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-14 20:40:24 -0600 |
commit | b979d3d4c55def30cd0eb1e2c82beefb30fc8e87 (patch) | |
tree | 7160f24c79025a04787c0fbe06856312be76c5c1 /include/configs | |
parent | a811779b174f8c5c687aaa5574dfdea9f3745f98 (diff) |
dm: Add a test for of-platdata
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 <sjg@chromium.org>
Diffstat (limited to 'include/configs')
0 files changed, 0 insertions, 0 deletions