]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: VMALLOC Size
authorChoraria, Rohit <rohitkc@ti.com>
Fri, 16 Nov 2007 23:51:26 +0000 (15:51 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 16 Nov 2007 23:51:26 +0000 (15:51 -0800)
This patch increases the size of VMALLOC to accommodate the bigger DDR and
NOR flashes being used now. Since SRAM is allocated at the end of VMALLOC
area, moving the SRAM virtual address also.

Signed-off-by: Rohit Choraria <rohitkc@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/sram.c
include/asm-arm/arch-omap/vmalloc.h

index 04d70a1b0e3f5e8f9d9628ea6ed5fd9c00d326eb..0df156fdbd0959b5d3beee732ea22d4d7722efcf 100644 (file)
 #endif
 
 #define OMAP1_SRAM_PA          0x20000000
-#define OMAP1_SRAM_VA          0xd0000000
+#define OMAP1_SRAM_VA          VMALLOC_END
 #define OMAP2_SRAM_PA          0x40200000
 #define OMAP2_SRAM_PUB_PA      0x4020f800
-#define OMAP2_SRAM_VA          0xd0000000
-#define OMAP2_SRAM_PUB_VA      0xd0000800
+#define OMAP2_SRAM_VA          VMALLOC_END
+#define OMAP2_SRAM_PUB_VA      (VMALLOC_END + 0x800)
 
 #if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
 #define SRAM_BOOTLOADER_SZ     0x00
index 5b8bd8dae8be7848c491d8aafbc759800a3767da..814b22625a7749bf23c45943bc08bdfdc5766852 100644 (file)
@@ -17,5 +17,5 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
-#define VMALLOC_END      (PAGE_OFFSET + 0x10000000)
+#define VMALLOC_END      (PAGE_OFFSET + 0x17000000)