summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/sram.c
diff options
context:
space:
mode:
authorVikram Pandita <vikram.pandita@ti.com>2010-09-16 18:19:25 +0530
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2010-09-24 11:30:17 +0530
commitf47d8c694e666843653f06c257d8cfb87e376f5d (patch)
tree6120a2d99118a76e6aba1326152d9043759fe02d /arch/arm/plat-omap/sram.c
parent2a27753fdc2ab046c754e3e203953dd0d4c1611b (diff)
downloadblackbird-op-linux-f47d8c694e666843653f06c257d8cfb87e376f5d.tar.gz
blackbird-op-linux-f47d8c694e666843653f06c257d8cfb87e376f5d.zip
omap4: sram: Fix start address
On OMAP4 there is no need to have SRAM_BOOTLOADER_SZ provision Hence put this macro under CONFIG_ARCH_OMAP2PLUS check Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/sram.c')
-rw-r--r--arch/arm/plat-omap/sram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
index 112b80753ee2..98c86ff17205 100644
--- a/arch/arm/plat-omap/sram.c
+++ b/arch/arm/plat-omap/sram.c
@@ -53,7 +53,7 @@
#define OMAP4_SRAM_PUB_PA (OMAP4_SRAM_PA + 0x4000)
#define OMAP4_SRAM_PUB_VA (OMAP4_SRAM_VA + 0x4000)
-#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
+#if defined(CONFIG_ARCH_OMAP2PLUS)
#define SRAM_BOOTLOADER_SZ 0x00
#else
#define SRAM_BOOTLOADER_SZ 0x80
OpenPOWER on IntegriCloud