commit | 1930e8de0925504ac5c543a783a6f3e6d2e0914c | [log] [tgz] |
---|---|---|
author | Ben Stoltz <stoltz@google.com> | Fri Jul 31 09:31:37 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Aug 05 08:42:41 2015 -0600 |
tree | b97daa0ceed4eb9e4d93903201ba0b9bb1599dc5 | |
parent | 9539e69d4124d79dc3a24ce190c804c7596937a7 [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>