diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2014-05-15 11:08:41 +0530 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-23 19:40:04 -0400 |
commit | 9fcf3d3a1d9c28619c7a8a1c5b4bad80216744a8 (patch) | |
tree | 404c53db741a630fc9fc29df6d023fd2177bed1d /arch/arm/cpu/armv7/omap-common | |
parent | 4d6bf5542e93a9b503b077749f14c41b38a30e61 (diff) |
ARM: DRA72x: Update EMIF data
DRA72 has 1GB connected to EMIF1 only. Updating the details.
And also enable WA for BUG0039 only if corresponding EMIF is present.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/emif-common.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/emif-common.c b/arch/arm/cpu/armv7/omap-common/emif-common.c index 429c4becf3..71c0cc8f2e 100644 --- a/arch/arm/cpu/armv7/omap-common/emif-common.c +++ b/arch/arm/cpu/armv7/omap-common/emif-common.c @@ -1384,8 +1384,10 @@ void sdram_init(void) if (sdram_type == EMIF_SDRAM_TYPE_DDR3 && (!in_sdram && !warm_reset())) { - do_bug0039_workaround(EMIF1_BASE); - do_bug0039_workaround(EMIF2_BASE); + if (emif1_enabled) + do_bug0039_workaround(EMIF1_BASE); + if (emif2_enabled) + do_bug0039_workaround(EMIF2_BASE); } debug("<<sdram_init()\n"); |