From: Sanjeev Premi Date: Mon, 27 May 2013 14:36:42 +0000 (+0530) Subject: ARM: OMAP2+: AM43x: SRAM base and size X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f288f081bb67813d35c10d1b2fa68e863c4b188;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 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 */