ARM: OMAP2+: AM43x: SRAM base and size
authorSanjeev Premi <premi@ti.com>
Mon, 27 May 2013 14:36:42 +0000 (20:06 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 12 Jun 2013 15:07:23 +0000 (08:07 -0700)
This definition corresponds to the L3_OCMC0,
as in case of AM33XX.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
[tony@atomide.com: updated to remove default y]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/sram.c

index 0ff0f068bea85d0a671e00619e9f903069cc5cc0..4bd096836235bfead4dae8ad7425bb4823600798 100644 (file)
@@ -119,6 +119,9 @@ static void __init omap_detect_sram(void)
                if (soc_is_am33xx()) {
                        omap_sram_start = AM33XX_SRAM_PA;
                        omap_sram_size = 0x10000; /* 64K */
+               } else if (soc_is_am43xx()) {
+                       omap_sram_start = AM33XX_SRAM_PA;
+                       omap_sram_size = SZ_256K;
                } else if (cpu_is_omap34xx()) {
                        omap_sram_start = OMAP3_SRAM_PA;
                        omap_sram_size = 0x10000; /* 64K */