From 4f288f081bb67813d35c10d1b2fa68e863c4b188 Mon Sep 17 00:00:00 2001 From: Sanjeev Premi Date: Mon, 27 May 2013 20:06:42 +0530 Subject: ARM: OMAP2+: AM43x: SRAM base and size This definition corresponds to the L3_OCMC0, as in case of AM33XX. Signed-off-by: Sanjeev Premi Signed-off-by: Afzal Mohammed [tony@atomide.com: updated to remove default y] Signed-off-by: Tony Lindgren diff --git a/arch/arm/mach-omap2/sram.c b/arch/arm/mach-omap2/sram.c index 0ff0f06..4bd0968 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 */ -- cgit v0.10.2