aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Berger <opendmb@gmail.com>2018-02-23 13:09:21 -0800
committerFlorian Fainelli <f.fainelli@gmail.com>2018-05-09 12:14:41 -0700
commit9e35ddc962a656bf4bb4cd50964943d0ffb89255 (patch)
tree174031dc0365df2339c59eb7e566376ad70a1674
parentARM: Allow this header to be included by assembly files (diff)
downloadlinux-dev-9e35ddc962a656bf4bb4cd50964943d0ffb89255.tar.xz
linux-dev-9e35ddc962a656bf4bb4cd50964943d0ffb89255.zip
ARM: add Broadcom Brahma-B53 main ID definition
This commit allows a Broadcom Brahma-B53 core to be detected when executing an arm architecture kernel in aarch32 state. Signed-off-by: Doug Berger <opendmb@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r--arch/arm/include/asm/cputype.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/cputype.h b/arch/arm/include/asm/cputype.h
index e7632f536633..6d1c7b22faea 100644
--- a/arch/arm/include/asm/cputype.h
+++ b/arch/arm/include/asm/cputype.h
@@ -59,6 +59,7 @@
((mpidr >> (MPIDR_LEVEL_BITS * level)) & MPIDR_LEVEL_MASK)
#define ARM_CPU_IMP_ARM 0x41
+#define ARM_CPU_IMP_BRCM 0x42
#define ARM_CPU_IMP_DEC 0x44
#define ARM_CPU_IMP_INTEL 0x69
@@ -76,6 +77,9 @@
#define ARM_CPU_PART_CORTEX_A15 0x4100c0f0
#define ARM_CPU_PART_MASK 0xff00fff0
+/* Broadcom implemented processors */
+#define ARM_CPU_PART_BRAHMA_B53 0x42001000
+
/* DEC implemented cores */
#define ARM_CPU_PART_SA1100 0x4400a110