summaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-10-14 16:48:05 -0400
committerTom Rini <trini@konsulko.com>2023-10-17 20:50:52 -0400
commit60d76e332d8031eab6937778b3ed7b6558c2b3f1 (patch)
tree8e63d4db50b7aef9db5b2106e5e6ec3780410ebc /arch/sandbox/include/asm
parent65efaac425e948dc56db5cf315d0497faeddb5b0 (diff)
downloadu-boot-60d76e332d8031eab6937778b3ed7b6558c2b3f1.tar.gz
u-boot-60d76e332d8031eab6937778b3ed7b6558c2b3f1.tar.bz2
u-boot-60d76e332d8031eab6937778b3ed7b6558c2b3f1.zip
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>
Diffstat (limited to 'arch/sandbox/include/asm')
-rw-r--r--arch/sandbox/include/asm/spl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/spl.h b/arch/sandbox/include/asm/spl.h
index cf16af5278..f349ea1997 100644
--- a/arch/sandbox/include/asm/spl.h
+++ b/arch/sandbox/include/asm/spl.h
@@ -14,6 +14,7 @@ enum {
BOOT_DEVICE_VBE,
BOOT_DEVICE_CPGMAC,
BOOT_DEVICE_NOR,
+ BOOT_DEVICE_SPI,
};
/**