]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: 2420 boot BUG(): failure to map SRAM
authorKevin Hilman <khilman@deeprooted.net>
Fri, 4 Aug 2006 10:48:34 +0000 (13:48 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 4 Aug 2006 10:48:34 +0000 (13:48 +0300)
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>
arch/arm/plat-omap/sram.c

index 7b0b9248051e4eca3a71e66cf02478bf0b473619..045b27b8d18fcc2099bfc18d3d42e78594aec4be 100644 (file)
@@ -190,10 +190,7 @@ void __init omap_map_sram(void)
        if (cpu_is_omap24xx()) {
                omap_sram_io_desc[0].virtual = OMAP2_SRAM_VA;
 
-               if (is_sram_locked())
-                       base = OMAP2_SRAM_PUB_PA;
-               else
-                       base = OMAP2_SRAM_PA;
+               base = OMAP2_SRAM_PA;
                base = ROUND_DOWN(base, PAGE_SIZE);
                omap_sram_io_desc[0].pfn = __phys_to_pfn(base);
        }