On Sun, 5 Nov 2023 at 19:26, Sean Anderson <sean...@gmail.com> wrote: > > 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 <sean...@gmail.com> > --- > > Changes in v6: > - Fix soft reset after loading from SPI > > Changes in v5: > - Rework to load header in spl_load > > common/spl/spl_spi.c | 80 +++++++-------------------------------- > include/spl_load.h | 1 + > test/image/spl_load_spi.c | 1 + > 3 files changed, 15 insertions(+), 67 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org> I am just amazed at how many times this FIT code got copied...there is something wrong with U-Boot's development model here.