]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: DRA72x: Add Silicon ID support
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 15 May 2014 05:38:38 +0000 (11:08 +0530)
committerTom Rini <trini@ti.com>
Fri, 23 May 2014 23:40:04 +0000 (19:40 -0400)
Add silicon ID code for DRA722 silicon.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap5/hwinit.c
arch/arm/include/asm/arch-omap5/omap.h
arch/arm/include/asm/omap_common.h

index 93feb1623cd9a04764234acb99d582c2dce4ccaf..a8a474a88be94a94fabf2e5d71a47fb50797df37 100644 (file)
@@ -336,6 +336,9 @@ void init_omap_revision(void)
        case DRA752_CONTROL_ID_CODE_ES1_1:
                *omap_si_rev = DRA752_ES1_1;
                break;
+       case DRA722_CONTROL_ID_CODE_ES1_0:
+               *omap_si_rev = DRA722_ES1_0;
+               break;
        default:
                *omap_si_rev = OMAP5430_SILICON_ID_INVALID;
        }
index a82a7b2bed14815d58e5f4cc2947b92bd8ff1baa..ce13ca93bb57b2428f5540f5cf49afcd1f60e960 100644 (file)
@@ -45,6 +45,7 @@
 #define OMAP5432_CONTROL_ID_CODE_ES2_0          0x1B99802F
 #define DRA752_CONTROL_ID_CODE_ES1_0           0x0B99002F
 #define DRA752_CONTROL_ID_CODE_ES1_1           0x1B99002F
+#define DRA722_CONTROL_ID_CODE_ES1_0           0x0B9BC02F
 
 /* UART */
 #define UART1_BASE             (OMAP54XX_L4_PER_BASE + 0x6a000)
index 729723afefec8dc0460777cba60465c70458403d..d1dd4b53682088bea9fe6a4a911d02d9acea61af 100644 (file)
@@ -645,6 +645,7 @@ static inline u8 is_dra7xx(void)
 /* DRA7XX */
 #define DRA752_ES1_0   0x07520100
 #define DRA752_ES1_1   0x07520110
+#define DRA722_ES1_0   0x07220100
 
 /*
  * SRAM scratch space entries