]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: Support setting up the other FDT for testing
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:10 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 Sep 2022 20:10:43 +0000 (16:10 -0400)
commit4b4fb7cd3f49d04c88fc7cf6f3f6425e4138c116
treedea1edaa0d86459012b5f8edb92a0fe75bc8a656
parent9cf0f55d3edd46cef528418e0e7a7ae377c336cc
sandbox: Support setting up the other FDT for testing

Provide a way to copy over the 'other' FDT when running tests. This loads
it and allocates memory for the copy, if not done already, then does the
copy.

Avoid using U-Boot's malloc() pool for these copies, at least for now,
since they are part of the test system.

Tidy up the cpu.c header files while here.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/cpu.c
arch/sandbox/include/asm/test.h
include/test/test.h