
21 Jan
2021
21 Jan
'21
4:21 a.m.
On Sun, Jan 17, 2021 at 5:54 AM Simon Glass sjg@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 sjg@chromium.org
common/spl/spl.c | 6 ++++++ include/spl.h | 10 ++++++++++ 2 files changed, 16 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com