Commit e641d796 authored by Paul Walmsley's avatar Paul Walmsley Committed by Tony Lindgren

OMAP2xxx: move SRAM to fix boot hang

Commit 1c957036 breaks booting on
OMAP2; it causes the SRAM to be mapped on top of the L4 interconnect.
This causes the system to hang early in boot in omap_map_sram() during
the TLB flush. Fix by moving SRAM elsewhere in the memory map.

Reported by Jarkko Nikula <jarkko.nikula@nokia.com>.  This patch is a
collaboration with Tony Lindgren <tony@atomide.com> and
Kevin Hilman <khilman@deeprootsystems.com>.

Boot-tested on 2430SDP (by Paul) and N810 (by Jarkko).
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
Tested-by: default avatarJarkko Nikula <jarkko.nikula@nokia.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Måns Rullgård <mans@mansr.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b6645c35
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
#define OMAP1_SRAM_VA VMALLOC_END #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 VMALLOC_END #define OMAP2_SRAM_VA 0xe3000000
#define OMAP2_SRAM_PUB_VA (VMALLOC_END + 0x800) #define OMAP2_SRAM_PUB_VA (OMAP2_SRAM_VA + 0x800)
#define OMAP3_SRAM_PA 0x40200000 #define OMAP3_SRAM_PA 0x40200000
#define OMAP3_SRAM_VA 0xd7000000 #define OMAP3_SRAM_VA 0xd7000000
#define OMAP3_SRAM_PUB_PA 0x40208000 #define OMAP3_SRAM_PUB_PA 0x40208000
......
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