]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/omap_common.h
ARM: DRA7: Add is_dra72x cpu check definition
[karo-tx-uboot.git] / arch / arm / include / asm / omap_common.h
index b0296fbae60d05fdcecbf15c9629fc63f163ec6a..50f178bd58b7dc01bcf44b3111ca21fe030d544b 100644 (file)
@@ -622,12 +622,19 @@ static inline u8 is_omap54xx(void)
 }
 
 #define DRA7XX         0x07000000
+#define DRA72X         0x07200000
 
 static inline u8 is_dra7xx(void)
 {
        extern u32 *const omap_si_rev;
        return ((*omap_si_rev & 0xFF000000) == DRA7XX);
 }
+
+static inline u8 is_dra72x(void)
+{
+       extern u32 *const omap_si_rev;
+       return (*omap_si_rev & 0xFFF00000) == DRA72X;
+}
 #endif
 
 /*