[PATCH 02/12] x86: spl: Add a function to find the text base
Bin Meng
bmeng.cn at gmail.com
Thu Jan 21 04:21:12 CET 2021
On Sun, Jan 17, 2021 at 5:54 AM Simon Glass <sjg at 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 at chromium.org>
> ---
>
> common/spl/spl.c | 6 ++++++
> include/spl.h | 10 ++++++++++
> 2 files changed, 16 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list