On Mon, 27 Feb 2023 at 12:55, Marek Vasut
<[email protected]> wrote:
>
> 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 <[email protected]>
> ---
> Cc: Heinrich Schuchardt <[email protected]>
> Cc: Simon Glass <[email protected]>
> Cc: Tom Rini <[email protected]>
> ---
>  test/cmd/fdt.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 48 insertions(+)
>

Reviewed-by: Simon Glass <[email protected]>

Reply via email to