* [U-Boot] [PATCH] ARM: OMAP5+: Enable errata i727
@ 2016-07-12 9:17 Lokesh Vutla
2016-07-12 12:16 ` Tom Rini
2016-07-16 13:51 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Lokesh Vutla @ 2016-07-12 9:17 UTC (permalink / raw)
To: u-boot
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>
---
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(-)
diff --git a/arch/arm/cpu/armv7/omap-common/emif-common.c b/arch/arm/cpu/armv7/omap-common/emif-common.c
index 9a9c764..2b79010 100644
--- a/arch/arm/cpu/armv7/omap-common/emif-common.c
+++ b/arch/arm/cpu/armv7/omap-common/emif-common.c
@@ -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)
diff --git a/arch/arm/cpu/armv7/omap-common/hwinit-common.c b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
index 2f9693f..f317293 100644
--- a/arch/arm/cpu/armv7/omap-common/hwinit-common.c
+++ b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
@@ -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();
--
2.9.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: OMAP5+: Enable errata i727
2016-07-12 9:17 [U-Boot] [PATCH] ARM: OMAP5+: Enable errata i727 Lokesh Vutla
@ 2016-07-12 12:16 ` Tom Rini
2016-07-16 13:51 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-07-12 12:16 UTC (permalink / raw)
To: u-boot
On Tue, Jul 12, 2016 at 02:47:41PM +0530, Lokesh Vutla wrote:
> 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>
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] ARM: OMAP5+: Enable errata i727
2016-07-12 9:17 [U-Boot] [PATCH] ARM: OMAP5+: Enable errata i727 Lokesh Vutla
2016-07-12 12:16 ` Tom Rini
@ 2016-07-16 13:51 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2016-07-16 13:51 UTC (permalink / raw)
To: u-boot
On Tue, Jul 12, 2016 at 02:47:41PM +0530, Lokesh Vutla wrote:
> 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>
Applied to u-boot/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-16 13:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12 9:17 [U-Boot] [PATCH] ARM: OMAP5+: Enable errata i727 Lokesh Vutla
2016-07-12 12:16 ` Tom Rini
2016-07-16 13:51 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.