omap4: sram: Fix start address
authorVikram Pandita <vikram.pandita@ti.com>
Thu, 16 Sep 2010 12:49:25 +0000 (18:19 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 24 Sep 2010 06:00:17 +0000 (11:30 +0530)
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>
arch/arm/plat-omap/sram.c

index 112b80753ee2134a06fba3fb7c5926d7b749e1bc..98c86ff172059e51ab75998da1431f33b32510b7 100644 (file)
@@ -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