diff mbox series

[1/2] ARM: Add support for Cortex-M33 processor

Message ID 20211201132908.106711-1-vladimir.murzin@arm.com (mailing list archive)
State New, archived
Headers show
Series [1/2] ARM: Add support for Cortex-M33 processor | expand

Commit Message

Vladimir Murzin Dec. 1, 2021, 1:29 p.m. UTC
Cortex-M33 is the first feature rich implementation of the Armv8-M
architecture (still compatible with v7M)

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
---
 arch/arm/mm/proc-v7m.S | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/mm/proc-v7m.S b/arch/arm/mm/proc-v7m.S
index 84459c1..fc12637 100644
--- a/arch/arm/mm/proc-v7m.S
+++ b/arch/arm/mm/proc-v7m.S
@@ -194,6 +194,16 @@  ENDPROC(__v7m_setup)
 .endm
 
 	/*
+	 * Match ARM Cortex-M33 processor.
+	 */
+	.type	__v7m_cm33_proc_info, #object
+__v7m_cm33_proc_info:
+	.long	0x410fd210		/* ARM Cortex-M33 0xD21 */
+	.long	0xff0ffff0		/* Mask off revision, patch release */
+	__v7m_proc __v7m_cm33_proc_info, __v7m_setup, hwcaps = HWCAP_EDSP
+	.size	__v7m_cm33_proc_info, . - __v7m_cm33_proc_info
+
+	/*
 	 * Match ARM Cortex-M7 processor.
 	 */
 	.type	__v7m_cm7_proc_info, #object