diff options
Diffstat (limited to 'include/asm-arm/arch-db5500/cpu.h')
-rw-r--r-- | include/asm-arm/arch-db5500/cpu.h | 7 |
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__ */ |