projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93bda4c
)
ARM: OMAP: 2420 boot BUG(): failure to map SRAM
author
Kevin Hilman
<khilman@deeprooted.net>
Mon, 25 Sep 2006 09:41:24 +0000
(12:41 +0300)
committer
Tony Lindgren
<tony@atomide.com>
Mon, 25 Sep 2006 09:41:24 +0000
(12:41 +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
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-omap/sram.c
b/arch/arm/plat-omap/sram.c
index e75718301b0f460bc59ea9912905a5c0a34c6dc8..19014b2ff4c6315a6e190c3c2c03e17c33eb184b 100644
(file)
--- a/
arch/arm/plat-omap/sram.c
+++ b/
arch/arm/plat-omap/sram.c
@@
-174,10
+174,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);
}