mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v4 01/12] ARM: cpu: allow selecting CPU_V7/CPU_V8 directly
@ 2025-09-16  4:54 chalianis1
  2025-09-16  4:54 ` [PATCH v4 02/12] efi: payload: split image handling from legacy handover boot support chalianis1
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: chalianis1 @ 2025-09-16  4:54 UTC (permalink / raw)
  To: s.hauer, a.fatoum; +Cc: barebox, Ahmad Fatoum, Chali Anis

From: Ahmad Fatoum <a.fatoum@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@pengutronix.de>
Link: https://lore.barebox.org/20250904081626.93182-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chali Anis <chalianis1@gmail.com>
---
 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
-- 
2.34.1




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-09-16  5:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-16  4:54 [PATCH v4 01/12] ARM: cpu: allow selecting CPU_V7/CPU_V8 directly chalianis1
2025-09-16  4:54 ` [PATCH v4 02/12] efi: payload: split image handling from legacy handover boot support chalianis1
2025-09-16  4:54 ` [PATCH v4 03/12] efi: payload: add support for efi stub boot chalianis1
2025-09-16  4:54 ` [PATCH v4 04/12] efi: payload: add support for fit image chalianis1
2025-09-16  4:54 ` [PATCH v4 05/12] efi: payload: make selectable without COMPILE_TEST chalianis1
2025-09-16  4:54 ` [PATCH v4 06/12] arm: efi: add a generic defconfig for v8 efi payload, chalianis1
2025-09-16  4:54 ` [PATCH v4 07/12] efi: payload: initrd: implement efi initrd media protocol chalianis1
2025-09-16  4:54 ` [PATCH v4 08/12] common: filetype: add x86 linux filetype chalianis1
2025-09-16  4:54 ` [PATCH v4 09/12] efi: payload: early-mem: helps to correctly boot x86 linux chalianis1
2025-09-16  4:54 ` [PATCH v4 10/12] efi: payload: bootm: add x86 efi stub boot support chalianis1
2025-09-16  4:54 ` [PATCH v4 11/12] lib: fdt: remove FDT_PADDING chalianis1
2025-09-16  4:55 ` [PATCH v4 12/12] efi: payload: x86: enable the possibility to efi stub bootm for x86 chalianis1
2025-09-16  5:32 ` [PATCH v4 01/12] ARM: cpu: allow selecting CPU_V7/CPU_V8 directly Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox