On Sun, Jan 17, 2021 at 5:54 AM Simon Glass <s...@chromium.org> wrote: > > It is useful to know the TEXT_BASE value for the image being loaded in > TPL/SPL. Add a new spl_get_image_text_base() function to handle this. > > Make use of this in the x86 SPL handler, instead of having the logic > there. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > common/spl/spl.c | 6 ++++++ > include/spl.h | 10 ++++++++++ > 2 files changed, 16 insertions(+) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>