On Wed, 11 Oct 2023 at 18:57, Sean Anderson <[email protected]> wrote: > > Add test for the SPI load method. This one is pretty straightforward. We > can't enable FIT_EXTERNAL with LOAD_FIT_FULL because spl_spi_load_image > doesn't know the total image size and has to guess from fdt_totalsize. This > doesn't include external data, so loading it will fail. > > Signed-off-by: Sean Anderson <[email protected]> > --- > > arch/sandbox/include/asm/spl.h | 1 + > configs/sandbox_noinst_defconfig | 6 +++++ > include/spl.h | 10 ++++++++ > test/image/Kconfig | 8 +++++++ > test/image/Makefile | 1 + > test/image/spl_load.c | 1 + > test/image/spl_load_spi.c | 41 ++++++++++++++++++++++++++++++++ > test/py/tests/test_spl.py | 10 ++++++++ > 8 files changed, 78 insertions(+) > create mode 100644 test/image/spl_load_spi.c
Reviewed-by: Simon Glass <[email protected]>

