Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: OMAP: 2420 boot BUG(): failure to map SRAM

ARM: OMAP: Fix SRAM static mapping for EMU devices.

Fix SRAM static mapping for EMU devices.

Signed-off-by: Kevin Hilman <khilman@deeprooted.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Kevin Hilman and committed by
Tony Lindgren
d1284b5f 93bda4c0

+1 -4
+1 -4
arch/arm/plat-omap/sram.c
··· 174 174 if (cpu_is_omap24xx()) { 175 175 omap_sram_io_desc[0].virtual = OMAP2_SRAM_VA; 176 176 177 - if (is_sram_locked()) 178 - base = OMAP2_SRAM_PUB_PA; 179 - else 180 - base = OMAP2_SRAM_PA; 177 + base = OMAP2_SRAM_PA; 181 178 base = ROUND_DOWN(base, PAGE_SIZE); 182 179 omap_sram_io_desc[0].pfn = __phys_to_pfn(base); 183 180 }