From b0d731d9563cd6fb8bd6c8304065e550d97a22c7 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 30 Mar 2026 01:14:12 +0200 Subject: arm: Add ARMv8-M aarch32 support Add configuration for ARMv8-M aarch32 core, which are currently Cortex-M23/M33 cores. These cores are treated similar to ARMv7-M cores, except the code has to be compiled with matching compiler -march=armv8-m.main flag . These cores have no MMU, they have MPU, which is currently not configured. Unlike ARMv7-M, these cores have 512 interrupt vectors. While the SYS_ARM_ARCH should be set to 8, it is set to 7 because all of the initialization code is built from arch/arm/cpu/armv7m and not armv8. Furthermore, CONFIG_ARM64 must be disabled, although DTs for devices using these cores do come from arch/arm64/boot/dts. To avoid excess duplication in Makefiles, introduce one new Kconfig symbol, CPU_V7M_V8M. The CPU_V7M_V8M cover both ARMv7-M and ARMv8-M cores. Signed-off-by: Marek Vasut Acked-by: Udit Kumar --- cmd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/Kconfig b/cmd/Kconfig index 7bbeaad04ff..9b8a13c3446 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -2101,7 +2101,7 @@ config BOOTP_PXE_DHCP_OPTION config BOOTP_VCI_STRING string depends on CMD_BOOTP - default "U-Boot.armv7" if CPU_V7A || CPU_V7M || CPU_V7R + default "U-Boot.armv7" if CPU_V7A || CPU_V7M_V8M || CPU_V7R default "U-Boot.armv8" if ARM64 default "U-Boot.arm" if ARM default "U-Boot" -- cgit v1.3.1