Commit 484cce0d2d86e0a3992ce577cd7045ba6ea72060

Authored by Ben Stoltz
Committed by Simon Glass
1 parent 275854baee

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -179,6 +179,7 @@
179 179  
180 180 config SYS_TEXT_BASE
181 181 depends on SPARC || ARC || X86 || ARCH_UNIPHIER || ARCH_ZYNQMP
  182 + depends on !EFI_APP
182 183 hex "Text Base"
183 184 help
184 185 TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture