diff options
-rw-r--r-- | arch/mips/ath79/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/ath79/common.c b/arch/mips/ath79/common.c index 10a405d593df..c782b10ddf50 100644 --- a/arch/mips/ath79/common.c +++ b/arch/mips/ath79/common.c | |||
@@ -58,7 +58,7 @@ EXPORT_SYMBOL_GPL(ath79_ddr_ctrl_init); | |||
58 | 58 | ||
59 | void ath79_ddr_wb_flush(u32 reg) | 59 | void ath79_ddr_wb_flush(u32 reg) |
60 | { | 60 | { |
61 | void __iomem *flush_reg = ath79_ddr_wb_flush_base + reg; | 61 | void __iomem *flush_reg = ath79_ddr_wb_flush_base + (reg * 4); |
62 | 62 | ||
63 | /* Flush the DDR write buffer. */ | 63 | /* Flush the DDR write buffer. */ |
64 | __raw_writel(0x1, flush_reg); | 64 | __raw_writel(0x1, flush_reg); |