summaryrefslogtreecommitdiff
path: root/lib/initcall.c
diff options
context:
space:
mode:
authorBen Stoltz <stoltz@google.com>2015-07-31 09:31:37 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 08:42:41 -0600
commit9b2174984e58972e657292dc8ff08e8d58dfbf06 (patch)
treeb97daa0ceed4eb9e4d93903201ba0b9bb1599dc5 /lib/initcall.c
parent867a6ac86dd823de409752e9ca5dc8f4d4880f26 (diff)
efi: Avoid using non-existent text base
When U-Boot runs as an EFI application is does not have a definition of CONFIG_SYS_TEXT_BASE. U-Boot is a relocatable application and the relocation is done by EFI. U-Boot can be loaded at any address. This is similar to how sandbox works. Adjust the early board init to deal with this. Signed-off-by: Ben Stoltz <stoltz@google.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib/initcall.c')
0 files changed, 0 insertions, 0 deletions