projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: ath79: fix register address in ath79_ddr_wb_flush()
[linux-2.6-microblaze.git]
/
arch
/
mips
/
ath79
/
common.c
diff --git
a/arch/mips/ath79/common.c
b/arch/mips/ath79/common.c
index
10a405d
..
c782b10
100644
(file)
--- a/
arch/mips/ath79/common.c
+++ b/
arch/mips/ath79/common.c
@@
-58,7
+58,7
@@
EXPORT_SYMBOL_GPL(ath79_ddr_ctrl_init);
void ath79_ddr_wb_flush(u32 reg)
{
- void __iomem *flush_reg = ath79_ddr_wb_flush_base +
reg
;
+ void __iomem *flush_reg = ath79_ddr_wb_flush_base +
(reg * 4)
;
/* Flush the DDR write buffer. */
__raw_writel(0x1, flush_reg);