]> git.sur5r.net Git - u-boot/commitdiff
ARM: OMAP5+: Enable errata i727
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jul 2016 09:17:41 +0000 (14:47 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:45 +0000 (18:22 -0400)
Errata i727 is applicable on all OMAP5 and DRA7 variants but enabled only
on OMAP5 ES1.0. So, enable it on all platforms.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/emif-common.c
arch/arm/cpu/armv7/omap-common/hwinit-common.c

index 9a9c764b4d11319d1743256b1ac1eee3bee838b1..2b790105b0bb51036a6e38d849121342b0e65e63 100644 (file)
@@ -37,7 +37,8 @@ void set_lpmode_selfrefresh(u32 base)
 void force_emif_self_refresh()
 {
        set_lpmode_selfrefresh(EMIF1_BASE);
-       set_lpmode_selfrefresh(EMIF2_BASE);
+       if (!is_dra72x())
+               set_lpmode_selfrefresh(EMIF2_BASE);
 }
 
 inline u32 emif_num(u32 base)
index 2f9693f28e9ded3d6c26dfde701ea20f9f33512d..f3172939889296dec5c5ec797058505c60372ed1 100644 (file)
@@ -147,8 +147,7 @@ void early_system_init(void)
        hw_data_init();
 
 #ifdef CONFIG_SPL_BUILD
-       if (warm_reset() &&
-           (is_omap44xx() || (omap_revision() == OMAP5430_ES1_0)))
+       if (warm_reset())
                force_emif_self_refresh();
 #endif
        watchdog_init();