[PATCH v2] arm: Add ARMv8-M aarch32 support

Marek Vasut marek.vasut at mailbox.org
Fri Apr 10 05:28:52 CEST 2026


On 4/10/26 4:04 AM, Tom Rini wrote:
> On Fri, Apr 10, 2026 at 03:24:10AM +0200, Marek Vasut wrote:
>> On 3/31/26 8:04 AM, Kumar, Udit wrote:
>>>
>>>
>>> On 3/30/2026 4:44 AM, Marek Vasut wrote:
>>>> 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 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 <marek.vasut+renesas at mailbox.org>
>>>> ---
>>>> Cc: Casey Connolly <casey.connolly at linaro.org>
>>>> Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
>>>> Cc: Ilias Apalodimas <ilias.apalodimas at linaro.org>
>>>> Cc: Jerome Forissier <jerome.forissier at arm.com> <jerome at forissier.org>
>>>> Cc: Tom Rini <trini at konsulko.com>
>>>> Cc: Udit Kumar <u-kumar1 at ti.com>
>>>> Cc: u-boot at lists.denx.de
>>>> ---
>>>> V2: - Rename CPU_V78M to CPU_V7M_V8M
>>>>       - Isolate V7M specific and otherwise option bits in cpu.c
>>>
>>> Thanks for v2 Marek,
>>> Apart of name of config discussion over v1 [0].
>>>
>>> For changes,
>>> Acked-by: Udit Kumar <u-kumar1 at ti.com>
>>>
>>> [0] :
>>> https://lore.kernel.org/all/30108d25-efd6-4ff6-9bfe-0dc55670a83f@mailbox.org/
>> Tom, is the naming now OK ?
> 
> I'm unable to come up with something I like better, so, yes, I will
> merge this soon, thanks!
Thank you too.


More information about the U-Boot mailing list