efi: x86: Rework VENDOR_EFI option to permit other archs

At present only x86 supports the EFI app and (apart from Qualcomm) the
payload. In preparation for supporting 64-bit ARM more generally, rename
the existing ARCH_EFI option to ARCH_EFI_X86, using that to define a
generic ARCH_EFI which will be enabled for all architectures.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-02-14 20:22:30 -07:00
parent 711542d2c6
commit ab351a6c58
7 changed files with 17 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
config ARCH_EFI
bool
select OF_CONTROL
select DM_SERIAL
if ARCH_EFI
if X86
@@ -38,6 +43,6 @@ endchoice
source "board/efi/efi-x86_app/Kconfig"
source "board/efi/efi-x86_payload/Kconfig"
endif
endif # X86
endif
endif # ARCH_EFI