On Mon, 27 Feb 2023 at 12:55, Marek Vasut <[email protected]> wrote: > > Add 'fdt bootcpu' test which works as follows: > - Create basic FDT, map it to sysmem > - Print the FDT bootcpu > - Set the FDT bootcpu and read the value back using 'fdt header get' > - Perform the previous step twice to validate bootcpu overwrite > > 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 | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+)
Reviewed-by: Simon Glass <[email protected]>

