efi: Drop CONFIG_SYS_TEXT_BASE for EFI
authorBen Stoltz <stoltz@google.com>
Tue, 4 Aug 2015 18:33:41 +0000 (12:33 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:05 +0000 (08:44 -0600)
commit484cce0d2d86e0a3992ce577cd7045ba6ea72060
tree55ba4eef4f0ddd91e5e088a70ac46ad8744b8290
parent275854baeeec02e37c8f8bf718f94090f2a531ff
efi: Drop CONFIG_SYS_TEXT_BASE for EFI

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.

Ensure that this CONFIG option is not set in this case.

Signed-off-by: Ben Stoltz <stoltz@google.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Kconfig