summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorBen Stoltz <stoltz@google.com>2015-08-04 12:33:41 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 08:44:05 -0600
commit484cce0d2d86e0a3992ce577cd7045ba6ea72060 (patch)
tree55ba4eef4f0ddd91e5e088a70ac46ad8744b8290 /Kconfig
parent275854baeeec02e37c8f8bf718f94090f2a531ff (diff)
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>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index fc69189217..05a34f7301 100644
--- a/Kconfig
+++ b/Kconfig
@@ -179,6 +179,7 @@ config SYS_EXTRA_OPTIONS
config SYS_TEXT_BASE
depends on SPARC || ARC || X86 || ARCH_UNIPHIER || ARCH_ZYNQMP
+ depends on !EFI_APP
hex "Text Base"
help
TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture