[PATCH 4/7] arm: efi: add a generic efi machine.
Sascha Hauer
s.hauer at pengutronix.de
Wed Sep 3 00:14:45 PDT 2025
On Sat, Aug 30, 2025 at 11:55:39PM -0400, chalianis1 at gmail.com wrote:
> From: Chali Anis <chalianis1 at gmail.com>
>
> 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 <chalianis1 at gmail.com>
> ---
> 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
Do we actually require this driver?
Nit: should be tabs here.
> + depends on 64BIT
> + default y if ARCH_MULTIARCH
No default y here please.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list