aboutsummaryrefslogtreecommitdiff
path: root/include/spl_load.h
diff options
context:
space:
mode:
authorSean Anderson2023-11-08 11:48:56 -0500
committerTom Rini2023-11-16 13:49:14 -0500
commita04d5f60a581ad5feac309ef014e47d41ccc8d48 (patch)
tree48dbb2eff79d880476c676b9340fc9ce1368f104 /include/spl_load.h
parent9b9c6aaaf22e59bc903b640a26961cdba451140f (diff)
spl: Convert spi to spl_load
This converts the spi load method to use spl_load. The address used for LOAD_FIT_FULL may be different, but there are no in-tree users of that config. Since payload_offs is only used without OS_BOOT, we defer its initialization. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/spl_load.h')
-rw-r--r--include/spl_load.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spl_load.h b/include/spl_load.h
index 2a20e866cd8..1c2b296c0a2 100644
--- a/include/spl_load.h
+++ b/include/spl_load.h
@@ -103,6 +103,7 @@ static inline int _spl_load(struct spl_image_info *spl_image,
IS_ENABLED(CONFIG_SPL_NET) + \
IS_ENABLED(CONFIG_SPL_NOR_SUPPORT) + \
IS_ENABLED(CONFIG_SPL_SEMIHOSTING) + \
+ IS_ENABLED(CONFIG_SPL_SPI_LOAD) + \
0
#if SPL_LOAD_USERS > 1