From: Chali Anis <[email protected]> add a generic arm64 machine that can select the CPU_V8 and the required efi payload minimal configs. this machine permits to have a clean arm64 efi payload, idealy we don't need the other machine that comes from multi arch since they execute code that is specific for the correspondig hardware. with this generic efi machine the barebox log shell is more clean. to get a pure clean efi payload you need to unselect all the other arch machines and keep only the EFI ARM64.
Signed-off-by: Chali Anis <[email protected]> --- arch/arm/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index cce71b50eb04..0a098440ddde 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -254,6 +254,18 @@ config ARCH_ZYNQMP select GPIOLIB select HAS_MACB +config EFI_ARM64 + bool "EFI on ARM64" + select CPU_V8 + select CPU_SUPPORTS_64BIT_KERNEL + select HAVE_EFI_PAYLOAD + select EFI_PAYLOAD + select BOOTM_FITIMAGE + select CLOCKSOURCE_EFI + select DRIVER_VIDEO_EFI_GOP + depends on 64BIT + default y if ARCH_MULTIARCH + source "arch/arm/cpu/Kconfig" source "arch/arm/mach-at91/Kconfig" source "arch/arm/mach-bcm283x/Kconfig" -- 2.34.1
