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>
This commit is contained in:
Sanjeev Premi 2013-05-27 20:06:42 +05:30 committed by Tony Lindgren
parent 49cc485d81
commit 4f288f081b

View File

@ -119,6 +119,9 @@ static void __init omap_detect_sram(void)
if (soc_is_am33xx()) { if (soc_is_am33xx()) {
omap_sram_start = AM33XX_SRAM_PA; omap_sram_start = AM33XX_SRAM_PA;
omap_sram_size = 0x10000; /* 64K */ 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()) { } else if (cpu_is_omap34xx()) {
omap_sram_start = OMAP3_SRAM_PA; omap_sram_start = OMAP3_SRAM_PA;
omap_sram_size = 0x10000; /* 64K */ omap_sram_size = 0x10000; /* 64K */