]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Convert nor to spl_load
authorSean Anderson <seanga2@gmail.com>
Wed, 8 Nov 2023 16:48:53 +0000 (11:48 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 18:49:14 +0000 (13:49 -0500)
commitcbe86576cbe6344f9e9dafe10e28815a0fac801d
treec044c7308bc697b31b710158c8f80bf87bb3e151
parent2e5476b5a7fe7255e58bd6b086c1c6c77350cadd
spl: Convert nor to spl_load

This converts the nor load method to use spl_load. As a result it also
adds support for LOAD_FIT_FULL. Since this is the last caller of
spl_load_legacy_img, it has been removed.

We can't load FITs with external data with SPL_LOAD_FIT_FULL, so disable the
test in that case. No boards enable SPL_NOR_SUPPORT and SPL_LOAD_FIT_FULL, so
this is not a regression.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_legacy.c
common/spl/spl_nor.c
include/spl_load.h
test/image/spl_load_nor.c