summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-04-24 18:15:17 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-04-24 18:15:17 +0000
commitc03af55da1e2cafe68209d86ea50bda399cde9a2 (patch)
treed77e31af10bfc76a698ac230d8ca63fa29267181 /sys/arch/arm/include
parentcef9d377be9fb42fc9bebc3d33e8d40c6cdf3171 (diff)
Add support for Cortex-A12. Even though ARM rebranded these as Cortex-A17
they have a different ID from "real" Cortex-A17 cores. ok phessler@, patrick@
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r--sys/arch/arm/include/armreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/arm/include/armreg.h b/sys/arch/arm/include/armreg.h
index 6c88e85b47c..877eaf369c4 100644
--- a/sys/arch/arm/include/armreg.h
+++ b/sys/arch/arm/include/armreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: armreg.h,v 1.39 2017/01/04 00:40:49 jsg Exp $ */
+/* $OpenBSD: armreg.h,v 1.40 2017/04/24 18:15:16 kettenis Exp $ */
/* $NetBSD: armreg.h,v 1.27 2003/09/06 08:43:02 rearnsha Exp $ */
/*
@@ -139,6 +139,8 @@
#define CPU_ID_CORTEX_A9_R3 0x413fc090
#define CPU_ID_CORTEX_A9_R4 0x414fc090
#define CPU_ID_CORTEX_A9_MASK 0xff0ffff0
+#define CPU_ID_CORTEX_A12 0x410fc0d0
+#define CPU_ID_CORTEX_A12_MASK 0xff0ffff0
#define CPU_ID_CORTEX_A15 0x410fc0f0
#define CPU_ID_CORTEX_A15_R1 0x411fc0f0
#define CPU_ID_CORTEX_A15_R2 0x412fc0f0