aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/board-sh7785lcr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/board-sh7785lcr.c')
-rw-r--r--arch/sh/boards/board-sh7785lcr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/boards/board-sh7785lcr.c b/arch/sh/boards/board-sh7785lcr.c
index 511de38d2046..fe7e686c94ac 100644
--- a/arch/sh/boards/board-sh7785lcr.c
+++ b/arch/sh/boards/board-sh7785lcr.c
@@ -21,6 +21,7 @@
21#include <linux/i2c-algo-pca.h> 21#include <linux/i2c-algo-pca.h>
22#include <linux/usb/r8a66597.h> 22#include <linux/usb/r8a66597.h>
23#include <linux/irq.h> 23#include <linux/irq.h>
24#include <linux/io.h>
24#include <linux/clk.h> 25#include <linux/clk.h>
25#include <linux/errno.h> 26#include <linux/errno.h>
26#include <mach/sh7785lcr.h> 27#include <mach/sh7785lcr.h>
@@ -332,15 +333,14 @@ static void __init sh7785lcr_setup(char **cmdline_p)
332 pm_power_off = sh7785lcr_power_off; 333 pm_power_off = sh7785lcr_power_off;
333 334
334 /* sm501 DRAM configuration */ 335 /* sm501 DRAM configuration */
335 sm501_reg = ioremap_fixed(SM107_REG_ADDR, SM501_DRAM_CONTROL, 336 sm501_reg = ioremap_nocache(SM107_REG_ADDR, SM501_DRAM_CONTROL);
336 PAGE_KERNEL);
337 if (!sm501_reg) { 337 if (!sm501_reg) {
338 printk(KERN_ERR "%s: ioremap error.\n", __func__); 338 printk(KERN_ERR "%s: ioremap error.\n", __func__);
339 return; 339 return;
340 } 340 }
341 341
342 writel(0x000307c2, sm501_reg + SM501_DRAM_CONTROL); 342 writel(0x000307c2, sm501_reg + SM501_DRAM_CONTROL);
343 iounmap_fixed(sm501_reg); 343 iounmap(sm501_reg);
344} 344}
345 345
346/* Return the board specific boot mode pin configuration */ 346/* Return the board specific boot mode pin configuration */