]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: OMAP4+: Fix MA detection during SDRAM_AUTO_DETECTION
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 19 Jun 2013 05:20:45 +0000 (10:50 +0530)
committerTom Rini <trini@ti.com>
Tue, 2 Jul 2013 13:21:16 +0000 (09:21 -0400)
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>
arch/arm/cpu/armv7/omap-common/emif-common.c

index 652e5a71b3445b574945546ec25c84a405dd2f54..9ede3f5442c1a405387c9ea6c070a6123846cb80 100644 (file)
@@ -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 =