summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2013-06-19 10:50:45 +0530
committerTom Rini <trini@ti.com>2013-07-02 09:21:16 -0400
commite3f53104e234c3133e646ec644d6ca72223e1ffb (patch)
treef1b3cd0b10bc00391c8a96b09bb2a0b404d1032e
parent58c86c7d1d8f1bde92211068f2a8a97779c48e99 (diff)
downloadu-boot-imx-e3f53104e234c3133e646ec644d6ca72223e1ffb.zip
u-boot-imx-e3f53104e234c3133e646ec644d6ca72223e1ffb.tar.gz
u-boot-imx-e3f53104e234c3133e646ec644d6ca72223e1ffb.tar.bz2
ARM: OMAP4+: Fix MA detection during SDRAM_AUTO_DETECTION
During SDRAM_AUTO_DETECTION MA is not configured. For Soc's > OMAP4460 MA is present. So populating MA for the same. Tested on OMAP4430 PANDA, OMAP4460 PANDA. Reported-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
-rw-r--r--arch/arm/cpu/armv7/omap-common/emif-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/emif-common.c b/arch/arm/cpu/armv7/omap-common/emif-common.c
index 652e5a7..9ede3f5 100644
--- a/arch/arm/cpu/armv7/omap-common/emif-common.c
+++ b/arch/arm/cpu/armv7/omap-common/emif-common.c
@@ -1200,6 +1200,9 @@ void dmm_init(u32 base)
/* TRAP for invalid TILER mappings in section 0 */
lis_map_regs_calculated.dmm_lisa_map_0 = DMM_LISA_MAP_0_INVAL_ADDR_TRAP;
+ if (omap_revision() >= OMAP4460_ES1_0)
+ lis_map_regs_calculated.is_ma_present = 1;
+
lisa_map_regs = &lis_map_regs_calculated;
#endif
struct dmm_lisa_map_regs *hw_lisa_map_regs =