On Mon, 27 Feb 2023 at 12:55, Marek Vasut <marek.vasut+rene...@mailbox.org> wrote: > > Add 'fdt rsvmem' test which works as follows: > - Create custom FDT with single reserved memory (rsvmem) entry, map it to > sysmem > - Add new rsvmem entry > - Delete existing older rsvmem entry > - Add new rsvmem entry again > - Always print the rsvmem list and validate it > > 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+rene...@mailbox.org> > --- > Cc: Heinrich Schuchardt <heinrich.schucha...@canonical.com> > Cc: Simon Glass <s...@chromium.org> > Cc: Tom Rini <tr...@konsulko.com> > --- > test/cmd/fdt.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 63 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>