aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-db5500/cpu.h
diff options
context:
space:
mode:
authorPreetham Rao K <preetham.rao@stericsson.com>2011-11-17 17:34:51 +0530
committerPreetham-rao K <preetham.rao@stericsson.com>2011-12-08 12:34:56 +0100
commit7dfce9601d2ab87d6d194a7dc62d407b5dcd2afb (patch)
tree853352ab2b5c1cb65c45afcb9f57dfa8fed12723 /include/asm-arm/arch-db5500/cpu.h
parentb439354b7c8911f493322d6e16d3b63fdf7c4706 (diff)
u5500: Add support for v2.1
Add secure bridge entry for Maja v2.1 Add reading cpu id ST-Ericsson ID: 374507 ST-Ericsson FOSS-OUT ID: NA Change-Id: I0cbfeb40a1be94fe53e3e8983bd10a95d9fabe38 Signed-off-by: Preetham Rao K <preetham.rao@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/38176 Reviewed-by: P.Hanumath PRASAD <hanumath.prasad@stericsson.com> Reviewed-by: Naveen Kumar GADDIPATI <naveen.gaddipati@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD
Diffstat (limited to 'include/asm-arm/arch-db5500/cpu.h')
-rw-r--r--include/asm-arm/arch-db5500/cpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/arch-db5500/cpu.h b/include/asm-arm/arch-db5500/cpu.h
index d0b049aad..1f0733f91 100644
--- a/include/asm-arm/arch-db5500/cpu.h
+++ b/include/asm-arm/arch-db5500/cpu.h
@@ -19,6 +19,7 @@
#define U5500_ASIC_ID_ADDRESS (U5500_BOOT_ROM_BASE + 0x1FFF4)
#define CPUID_DB5500V1 0xA0
#define CPUID_DB5500V2 0xB0
+#define CPUID_DB5500V21 0xB1
/*
* Keep these CPU identity functions inline here because they are short
@@ -44,4 +45,10 @@ static inline int cpu_is_u5500v2(void)
return read_cpuid() == CPUID_DB5500V2;
}
+static inline int cpu_is_u5500v21(void)
+{
+ return read_cpuid() == CPUID_DB5500V21;
+}
+
+
#endif /* __DB5500_CPU_H__ */