summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSanjeev Premi <premi@ti.com>2013-05-27 20:06:42 +0530
committerTony Lindgren <tony@atomide.com>2013-06-12 08:07:23 -0700
commit4f288f081bb67813d35c10d1b2fa68e863c4b188 (patch)
tree0f407f216e9e79d6fcaf51688a72d358bc6dcfac /arch/arm
parent49cc485d815f2a31ba5635d3f2b10c73458ad014 (diff)
downloadlinux-4f288f081bb67813d35c10d1b2fa68e863c4b188.tar.bz2
ARM: OMAP2+: AM43x: SRAM base and size
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/sram.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/sram.c b/arch/arm/mach-omap2/sram.c
index 0ff0f068bea8..4bd096836235 100644
--- a/arch/arm/mach-omap2/sram.c
+++ b/arch/arm/mach-omap2/sram.c
@@ -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 */