Skip to contentSkip to conversation

ARM: OMAP5+: Enable errata i727

PATCH In review Lokesh Vutla 2 participants 3 messages Jul 12, 2016 – Jul 16, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP5+: Enable errata i727

Errata i727 is applicable on all OMAP5 and DRA7 variants but enabled only on OMAP5 ES1.0. So, enable it on all platforms.

---
 arch/arm/cpu/armv7/omap-common/emif-common.c   | 3 ++-
 arch/arm/cpu/armv7/omap-common/hwinit-common.c | 3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/cpu/armv7/omap-common/emif-common.c +2 -1
index 9a9c764..2b79010 100644
@@ -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)
arch/arm/cpu/armv7/omap-common/hwinit-common.c +1 -2
index 2f9693f..f317293 100644
@@ -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();
Signature · 1 line
2.9.0
#1 lore raw

PATCH 1/1 ARM: OMAP5+: Enable errata i727

Quoted 4 lines · Lokesh Vutla

Errata i727 is applicable on all OMAP5 and DRA7 variants but enabled only on OMAP5 ES1.0. So, enable it on all platforms.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160712/1fdb7ad6/attachment.sig>
#2 lore raw
In reply to Lokesh Vutla
Quoted 5 lines · Lokesh Vutla

Errata i727 is applicable on all OMAP5 and DRA7 variants but enabled only on OMAP5 ES1.0. So, enable it on all platforms.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160716/6b0c8971/attachment.sig>