aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-03-20 08:30:05 +1300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-03-25 11:07:21 +0100
commitedf35a30278121e1affc9cc15b7aa26b9892e9d9 (patch)
tree6826adad2a47e660eeab43ecbed7b06bfda3e167 /arch/x86
parentbace47a59d2f6a60972a388d6be034ce20e92270 (diff)
downloadu-boot-edf35a30278121e1affc9cc15b7aa26b9892e9d9.zip
u-boot-edf35a30278121e1affc9cc15b7aa26b9892e9d9.tar.gz
u-boot-edf35a30278121e1affc9cc15b7aa26b9892e9d9.tar.bz2
efi: Set RUN_64BIT correctly for the EFI app
The U-Boot EFI app can run as a 64-bit program, so set the Kconfig correctly in that case. Make sure it doesn't build SPL, since there is no need to switch from 32 to 64 bit when running. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 07be5cd..99e59d9 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -32,8 +32,8 @@ config X86_RUN_32BIT
config X86_RUN_64BIT
bool "64-bit"
select X86_64
- select SPL
- select SPL_SEPARATE_BSS
+ select SPL if !EFI_APP
+ select SPL_SEPARATE_BSS if !EFI_APP
help
Build U-Boot as a 64-bit binary with a 32-bit SPL. This is
experimental and many features are missing. U-Boot SPL starts up,