summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorganbold <ganbold@FreeBSD.org>2015-01-13 07:49:07 +0000
committerganbold <ganbold@FreeBSD.org>2015-01-13 07:49:07 +0000
commitac5923c9bcd6776069dd51fa4a32e9cc5eb037fc (patch)
treecacb498f8557efecadca1feeb71270f787faff54
parentce8e636b331aeef564302ef987d4b9e214c00127 (diff)
downloadFreeBSD-src-ac5923c9bcd6776069dd51fa4a32e9cc5eb037fc.zip
FreeBSD-src-ac5923c9bcd6776069dd51fa4a32e9cc5eb037fc.tar.gz
Add CPU ID for ARM Cortex A17.
Approved by: stas (mentor)
-rw-r--r--sys/arm/arm/cpufunc.c1
-rw-r--r--sys/arm/arm/identcpu.c2
-rw-r--r--sys/arm/include/armreg.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/arm/cpufunc.c b/sys/arm/arm/cpufunc.c
index 07090d2..c4f0f7f 100644
--- a/sys/arm/arm/cpufunc.c
+++ b/sys/arm/arm/cpufunc.c
@@ -1071,6 +1071,7 @@ set_cpufuncs()
cputype == CPU_ID_CORTEXA15R1 ||
cputype == CPU_ID_CORTEXA15R2 ||
cputype == CPU_ID_CORTEXA15R3 ||
+ cputype == CPU_ID_CORTEXA17 ||
cputype == CPU_ID_KRAIT ) {
cpufuncs = cortexa_cpufuncs;
cpu_reset_needs_v4_MMU_disable = 1; /* V4 or higher */
diff --git a/sys/arm/arm/identcpu.c b/sys/arm/arm/identcpu.c
index 1b808ae..b4b757c 100644
--- a/sys/arm/arm/identcpu.c
+++ b/sys/arm/arm/identcpu.c
@@ -193,6 +193,8 @@ const struct cpuidtab cpuids[] = {
generic_steppings },
{ CPU_ID_CORTEXA15R3, CPU_CLASS_CORTEXA, "Cortex A15-r3",
generic_steppings },
+ { CPU_ID_CORTEXA17, CPU_CLASS_CORTEXA, "Cortex A17",
+ generic_steppings },
{ CPU_ID_KRAIT, CPU_CLASS_KRAIT, "Krait",
generic_steppings },
diff --git a/sys/arm/include/armreg.h b/sys/arm/include/armreg.h
index 3439675..216fe2a 100644
--- a/sys/arm/include/armreg.h
+++ b/sys/arm/include/armreg.h
@@ -137,6 +137,7 @@
#define CPU_ID_CORTEXA15R1 0x411fc0f0
#define CPU_ID_CORTEXA15R2 0x412fc0f0
#define CPU_ID_CORTEXA15R3 0x413fc0f0
+#define CPU_ID_CORTEXA17 0x410fc0d0
#define CPU_ID_KRAIT 0x510f06f0 /* Snapdragon S4 Pro/APQ8064 */
#define CPU_ID_TI925T 0x54029250
#define CPU_ID_MV88FR131 0x56251310 /* Marvell Feroceon 88FR131 Core */
OpenPOWER on IntegriCloud