diff options
author | Preetham Rao K <preetham.rao@stericsson.com> | 2011-11-17 17:34:51 +0530 |
---|---|---|
committer | Preetham-rao K <preetham.rao@stericsson.com> | 2011-12-08 12:34:56 +0100 |
commit | 7dfce9601d2ab87d6d194a7dc62d407b5dcd2afb (patch) | |
tree | 853352ab2b5c1cb65c45afcb9f57dfa8fed12723 | |
parent | b439354b7c8911f493322d6e16d3b63fdf7c4706 (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
-rw-r--r-- | cpu/arm_cortexa9/db5500/sec_bridge.c | 1 | ||||
-rw-r--r-- | include/asm-arm/arch-db5500/cpu.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/cpu/arm_cortexa9/db5500/sec_bridge.c b/cpu/arm_cortexa9/db5500/sec_bridge.c index da357abd5..fb3e87116 100644 --- a/cpu/arm_cortexa9/db5500/sec_bridge.c +++ b/cpu/arm_cortexa9/db5500/sec_bridge.c @@ -23,6 +23,7 @@ static const struct sec_rom_cut_desc cuttable[] = { { 0x9001FFF4, 0x008500A0, 0x90018300 }, { 0x9001FFF4, 0x005500A0, 0x90018300 }, { 0x9001FFF4, 0x005500B0, 0x90018300 }, + { 0x9001FFF4, 0x005500B1, 0x90018300 }, }; int sec_bridge_init_bridge(void) 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__ */ |