diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 17:58:41 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-15 02:40:24 (GMT) |
commit | b979d3d4c55def30cd0eb1e2c82beefb30fc8e87 (patch) | |
tree | 7160f24c79025a04787c0fbe06856312be76c5c1 /board/ti | |
parent | a811779b174f8c5c687aaa5574dfdea9f3745f98 (diff) | |
download | u-boot-fsl-qoriq-b979d3d4c55def30cd0eb1e2c82beefb30fc8e87.tar.xz |
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 'board/ti')
0 files changed, 0 insertions, 0 deletions