commit | 53857ee324d75dc9f9658dfa8af7f735482296f6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jan 24 10:06:03 2021 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Mon Feb 01 15:11:41 2021 +0800 |
tree | 0debd858c894d13c390efbf483fc1b52b199ec35 | |
parent | 65ca49fbdf93c880697215a471b418f991042f97 [diff] |
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>