]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Convert spi to spl_load
authorSean Anderson <seanga2@gmail.com>
Wed, 8 Nov 2023 16:48:56 +0000 (11:48 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 18:49:14 +0000 (13:49 -0500)
commita04d5f60a581ad5feac309ef014e47d41ccc8d48
tree48dbb2eff79d880476c676b9340fc9ce1368f104
parent9b9c6aaaf22e59bc903b640a26961cdba451140f
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>
common/spl/spl_spi.c
include/spl_load.h
test/image/spl_load_spi.c