mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user