Commit eb82773a authored by Choraria, Rohit's avatar Choraria, Rohit Committed by Tony Lindgren

ARM: OMAP: VMALLOC Size

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: default avatarRohit Choraria <rohitkc@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d87e74e6
...@@ -32,11 +32,11 @@ ...@@ -32,11 +32,11 @@
#endif #endif
#define OMAP1_SRAM_PA 0x20000000 #define OMAP1_SRAM_PA 0x20000000
#define OMAP1_SRAM_VA 0xd0000000 #define OMAP1_SRAM_VA VMALLOC_END
#define OMAP2_SRAM_PA 0x40200000 #define OMAP2_SRAM_PA 0x40200000
#define OMAP2_SRAM_PUB_PA 0x4020f800 #define OMAP2_SRAM_PUB_PA 0x4020f800
#define OMAP2_SRAM_VA 0xd0000000 #define OMAP2_SRAM_VA VMALLOC_END
#define OMAP2_SRAM_PUB_VA 0xd0000800 #define OMAP2_SRAM_PUB_VA (VMALLOC_END + 0x800)
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX) #if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
#define SRAM_BOOTLOADER_SZ 0x00 #define SRAM_BOOTLOADER_SZ 0x00
......
...@@ -17,5 +17,5 @@ ...@@ -17,5 +17,5 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#define VMALLOC_END (PAGE_OFFSET + 0x10000000) #define VMALLOC_END (PAGE_OFFSET + 0x17000000)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment