[PATCH 18/32] test: cmd: fdt: Test fdt resize

Simon Glass sjg at chromium.org
Wed Mar 1 16:02:17 CET 2023


On Mon, 27 Feb 2023 at 12:55, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
>
> Add 'fdt resize' test which works as follows:
> - Create simple FDT with extra size 0, map it to sysmem
> - 'resize' the FDT by 0x2000 bytes
> - Verify the new space has been added to the FDT
>
> 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 at mailbox.org>
> ---
> Cc: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
>  test/cmd/fdt.c | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)

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


More information about the U-Boot mailing list