projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e3e19
)
[ARM] orion5x: increment window counter after adding sram mapping
author
Sebastian Andrzej Siewior
<sebastian@breakpoint.cc>
Fri, 12 Jun 2009 02:51:12 +0000
(22:51 -0400)
committer
Nicolas Pitre
<nico@cam.org>
Mon, 15 Jun 2009 04:37:07 +0000
(
00:37
-0400)
Without incrementing the counter the next window setup will overwrite
the SRAM mapping.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-orion5x/addr-map.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-orion5x/addr-map.c
b/arch/arm/mach-orion5x/addr-map.c
index
6f3f77d
..
d78731e
100644
(file)
--- a/
arch/arm/mach-orion5x/addr-map.c
+++ b/
arch/arm/mach-orion5x/addr-map.c
@@
-200,6
+200,6
@@
void __init orion5x_setup_pcie_wa_win(u32 base, u32 size)
int __init orion5x_setup_sram_win(void)
{
- return setup_cpu_win(win_alloc_count, ORION5X_SRAM_PHYS_BASE,
+ return setup_cpu_win(win_alloc_count
++
, ORION5X_SRAM_PHYS_BASE,
ORION5X_SRAM_SIZE, TARGET_SRAM, ATTR_SRAM, -1);
}