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

Tom Rini trini at konsulko.com
Fri Apr 10 04:04:57 CEST 2026


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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260409/11803f03/attachment.sig>


More information about the U-Boot mailing list