diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-02 04:08:33 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-03-08 13:14:28 -0800 |
commit | 890d3fcbed2e827a27c3f590a5886687fef1b413 (patch) | |
tree | 6f02ce760cad6a7c93eea488a499380da34a91d1 /drivers/ddr/imx/imx9/ddr_init.c | |
parent | 8fa2835228e6cc644fda24abb64aa85eb8d91224 (diff) |
test: cmd: fdt: Test fdt get name
Add 'fdt get name' test which works as follows:
- Create fuller FDT, map it to sysmem
- Get name of / node 0, 1 and /clk-test node 0
- Compare output and validate the node name
- Get name of / node 2 and /clk-test node 1
- Compare output and validate the node is not present
- Get name of / node -1 and /clk-test node -1
- Compare output and validate the node name equals node 0 name
- Check nonexistent node, verify the command errors out
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx/imx9/ddr_init.c')
0 files changed, 0 insertions, 0 deletions