summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2013-08-06 23:15:44 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2013-08-06 23:15:44 +0000
commitc09bc5ce8fd9ba591c4fd2e0fcff66291725ab28 (patch)
treecc0b22e3dd3f1234d8774548f9f5587ec3b83932
parentf02a57dab9a625b379362cbb23242686c45f7301 (diff)
add Cortex A15 R4
ok patrick@
-rw-r--r--sys/arch/arm/arm/cpu.c4
-rw-r--r--sys/arch/arm/include/armreg.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/cpu.c b/sys/arch/arm/arm/cpu.c
index f98dbafdddd..acf9cc6d350 100644
--- a/sys/arch/arm/arm/cpu.c
+++ b/sys/arch/arm/arm/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.16 2013/03/22 21:32:31 patrick Exp $ */
+/* $OpenBSD: cpu.c,v 1.17 2013/08/06 23:15:43 jsg Exp $ */
/* $NetBSD: cpu.c,v 1.56 2004/04/14 04:01:49 bsh Exp $ */
@@ -326,6 +326,8 @@ const struct cpuidtab cpuids[] = {
generic_steppings },
{ CPU_ID_CORTEX_A15_R3, CPU_CLASS_ARMv7, "ARM Cortex A15 R3",
generic_steppings },
+ { CPU_ID_CORTEX_A15_R4, CPU_CLASS_ARMv7, "ARM Cortex A15 R4",
+ generic_steppings },
{ 0, CPU_CLASS_NONE, NULL, NULL }
diff --git a/sys/arch/arm/include/armreg.h b/sys/arch/arm/include/armreg.h
index ca7763e3bc2..a64beda3e79 100644
--- a/sys/arch/arm/include/armreg.h
+++ b/sys/arch/arm/include/armreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: armreg.h,v 1.12 2013/04/28 13:27:13 patrick Exp $ */
+/* $OpenBSD: armreg.h,v 1.13 2013/08/06 23:15:43 jsg Exp $ */
/* $NetBSD: armreg.h,v 1.27 2003/09/06 08:43:02 rearnsha Exp $ */
/*
@@ -219,6 +219,7 @@
#define CPU_ID_CORTEX_A15_R1 0x411fc0f0
#define CPU_ID_CORTEX_A15_R2 0x412fc0f0
#define CPU_ID_CORTEX_A15_R3 0x413fc0f0
+#define CPU_ID_CORTEX_A15_R4 0x414fc0f0
#define CPU_ID_CORTEX_A15_MASK 0xff0ffff0