Re: [PATCH 02/12] x86: spl: Add a function to find the text base

2021-01-20 Thread Bin Meng
On Sun, Jan 17, 2021 at 5:54 AM Simon Glass 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:

[PATCH 02/12] x86: spl: Add a function to find the text base

2021-01-16 Thread Simon Glass
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 --- common/spl/spl.c | 6 ++ include/spl.h