diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-02 04:08:43 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-03-14 16:08:51 -0600 |
commit | 77291e6e90e9c84b9c963acb15d0cac381cf8b44 (patch) | |
tree | 63518087eb6f8d81088a2be7910c2e41d8280f05 /drivers/ddr/microchip/ddr2_regs.h | |
parent | 50daa2e615a51ee470aaeac7f9a3d32ba48b2f82 (diff) |
test: cmd: fdt: Test fdt chosen
Add 'fdt chosen' test which works as follows:
- Create basic DT, map it to sysmem
- Print /chosen node, verify it is nonexistent
- Create chosen node
- Print /chosen node, verify it contains only version
- Create /chosen node with initrd entries
- Print /chosen node, verify it contains version and initrd entries
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/microchip/ddr2_regs.h')
0 files changed, 0 insertions, 0 deletions