Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181099
b: refs/heads/master
c: 6f82b6e
h: refs/heads/master
i:
  181097: 760146b
  181095: 03c1e88
v: v3
  • Loading branch information
Matt Fleming committed Jan 16, 2010
1 parent 0cb2b28 commit f237d51
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d35b93a66e9b87df20784fcf130d2e8760be53f
refs/heads/master: 6f82b6ebb1dcc0c3c23820a70a5d79a60c4f5e84
11 changes: 9 additions & 2 deletions trunk/arch/sh/boards/board-sh7785lcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,15 @@ static void __init sh7785lcr_setup(char **cmdline_p)
pm_power_off = sh7785lcr_power_off;

/* sm501 DRAM configuration */
sm501_reg = (void __iomem *)0xb3e00000 + SM501_DRAM_CONTROL;
writel(0x000307c2, sm501_reg);
sm501_reg = ioremap_fixed(SM107_REG_ADDR, SM501_DRAM_CONTROL,
PAGE_KERNEL);
if (!sm501_reg) {
printk(KERN_ERR "%s: ioremap error.\n", __func__);
return;
}

writel(0x000307c2, sm501_reg + SM501_DRAM_CONTROL);
iounmap_fixed(sm501_reg);
}

/* Return the board specific boot mode pin configuration */
Expand Down

0 comments on commit f237d51

Please sign in to comment.