Simon Glass 86c372af1a x86: spl: Add a function to find the text base
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>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2021-02-01 15:11:41 +08:00
..
2021-01-27 17:03:16 -05:00
2020-05-18 18:36:55 -04:00
2020-11-19 09:45:49 -05:00
2021-01-16 14:49:09 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2021-01-22 16:17:52 -05:00
2020-06-12 13:14:07 -04:00
2021-01-15 14:38:00 -05:00
2021-01-29 10:36:48 -05:00
2020-05-18 21:19:18 -04:00
2021-01-06 07:57:33 -05:00
2020-10-22 09:54:53 -04:00