[PATCH 10/20] dm: test: Add a test for of-platdata phandles
Simon Glass
sjg at chromium.org
Fri Oct 30 04:34:38 CET 2020
We have a test in dtoc for this feature, but not one in U-Boot itself.
Add a simple test that checks that the information comes through
correctly.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/sandbox/dts/sandbox.dtsi | 26 ++++++++++++++++++++++++
configs/sandbox_spl_defconfig | 1 +
drivers/clk/clk_fixed_rate.c | 4 ++--
drivers/clk/clk_sandbox.c | 4 ++--
test/dm/of_platdata.c | 37 +++++++++++++++++++++++++++++++++++
5 files changed, 68 insertions(+), 4 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list