[PATCH 06/20] dm: Add a C test for of-platdata properties

Simon Glass sjg at chromium.org
Fri Oct 30 04:34:42 CET 2020


At present properties are tested in a roundabout way. The driver's probe()
method writes out the values of the properties and the Python test checks
the output from U-Boot SPL.

Add a C test which checks these values more directly.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 test/dm/of_platdata.c | 69 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list