]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: OMAP4470: Add OMAP4470 identification
authorTaras Kondratiuk <taras@ti.com>
Tue, 6 Aug 2013 12:18:48 +0000 (15:18 +0300)
committerTom Rini <trini@ti.com>
Wed, 28 Aug 2013 15:44:58 +0000 (11:44 -0400)
Signed-off-by: Taras Kondratiuk <taras@ti.com>
arch/arm/cpu/armv7/omap4/hwinit.c
arch/arm/include/asm/arch-omap4/omap.h
arch/arm/include/asm/omap_common.h

index 4da0fc0ad56913190da90a4bf64ef8ed740bba24..b0598a0774d5a0ce6a085a244e782c16439418d3 100644 (file)
@@ -138,6 +138,9 @@ void init_omap_revision(void)
                break;
        case MIDR_CORTEX_A9_R2P10:
                switch (readl(CONTROL_ID_CODE)) {
+               case OMAP4470_CONTROL_ID_CODE_ES1_0:
+                       *omap_si_rev = OMAP4470_ES1_0;
+                       break;
                case OMAP4460_CONTROL_ID_CODE_ES1_1:
                        *omap_si_rev = OMAP4460_ES1_1;
                        break;
index 3823a37f2ff00770dacdd419e85d7fefe160ee8f..9129c0dd7cb005c4ed0494b367c3956c0503266a 100644 (file)
@@ -41,6 +41,7 @@
 #define OMAP4_CONTROL_ID_CODE_ES2_3    0x6B95C02F
 #define OMAP4460_CONTROL_ID_CODE_ES1_0 0x0B94E02F
 #define OMAP4460_CONTROL_ID_CODE_ES1_1 0x2B94E02F
+#define OMAP4470_CONTROL_ID_CODE_ES1_0 0x0B97502F
 
 /* UART */
 #define UART1_BASE             (OMAP44XX_L4_PER_BASE + 0x6a000)
index 66f416f99cd2047add335617baf2a253405d2c7d..5e2f027ba4de678aa6bddd0632a775f58afd8ae4 100644 (file)
@@ -622,6 +622,7 @@ static inline u8 is_omap54xx(void)
 #define OMAP4430_ES2_3 0x44300230
 #define OMAP4460_ES1_0 0x44600100
 #define OMAP4460_ES1_1 0x44600110
+#define OMAP4470_ES1_0 0x44700100
 
 /* omap5 */
 #define OMAP5430_SILICON_ID_INVALID    0