]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
efi: Drop CONFIG_SYS_TEXT_BASE for EFI
authorBen Stoltz <stoltz@google.com>
Tue, 4 Aug 2015 18:33:41 +0000 (12:33 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:00:55 +0000 (08:00 +0200)
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

diff --git a/Kconfig b/Kconfig
index 3f30e9ec0d94b8ca8c4488093932b3cfa4f514e8..d9183d605d1cbccea8750c8e1679bac45e0c3f66 100644 (file)
--- 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