]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: spl: Add a test for the SPI load method
authorSean Anderson <seanga2@gmail.com>
Sat, 14 Oct 2023 20:48:05 +0000 (16:48 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 18 Oct 2023 00:50:52 +0000 (20:50 -0400)
commit60d76e332d8031eab6937778b3ed7b6558c2b3f1
tree8e63d4db50b7aef9db5b2106e5e6ec3780410ebc
parent65efaac425e948dc56db5cf315d0497faeddb5b0
test: spl: Add a test for the SPI load method

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 <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/spl.h
configs/sandbox_noinst_defconfig
include/spl.h
test/image/Kconfig
test/image/Makefile
test/image/spl_load.c
test/image/spl_load_spi.c [new file with mode: 0644]
test/py/tests/test_spl.py