[PATCH v4 01/12] ARM: cpu: allow selecting CPU_V7/CPU_V8 directly
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Sep 15 22:32:06 PDT 2025
Hi,
On 16.09.25 06:54, chalianis1 at gmail.com wrote:
> From: Ahmad Fatoum <a.fatoum at pengutronix.de>
>
> We currently lack a way to build a barebox EFI payload on ARM without
> enabling some other subarchitecture. As CONFIG_EFI_PAYLOAD has a global
> effect and adds EFI stubs to all enabled board, an EFI subarchitecture
> doesn't fit into our current model.
>
> Instead, let's make it possible to enable either CONFIG_CPU_V8 or
> CONFIG_CPU_V7 directly.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> Link: https://lore.barebox.org/20250904081626.93182-1-a.fatoum@pengutronix.de
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Signed-off-by: Chali Anis <chalianis1 at gmail.com>
This patch is already upstream, so no need to resend. You can rebase the series
on next and it should be dropped automatically.
Also, did you intend to send this series 4 times? Unlike e.g. Github, sending
a series multiple times, results in separate mail threads and doesn't update
the original.
I will ignore the older series and review this one as it's the most recent.
Cheers,
Ahmad
> ---
> arch/arm/cpu/Kconfig | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig
> index e61bcadc8c35..fe0d1e470578 100644
> --- a/arch/arm/cpu/Kconfig
> +++ b/arch/arm/cpu/Kconfig
> @@ -79,12 +79,15 @@ config CPU_V6
>
> # ARMv7
> config CPU_V7
> - bool
> + bool "Generic ARMv7 support"
> + depends on 32BIT
> select CPU_32v7
>
> # ARMv8
> config CPU_V8
> - bool
> + bool "Generic ARMv8 support"
> + default y
> + depends on 64BIT
> select CPU_64v8
> select ARM_EXCEPTIONS
> select GENERIC_FIND_NEXT_BIT
--
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