aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2008-07-17 06:13:34 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 05:10:37 -0400
commit9ca6ecac505002d0c34b47b394f39aa14b0e6fb6 (patch)
treee9f7503ef88997043685fab09b4593cdbd77d7b9 /arch/sh/boards
parentde9254263b8c8b1809520a1009dd516e41976519 (diff)
sh: Use clk_always_enable() on sh7723 / ap325rxa
Use clk_always_enable() on the sh7723 processor and in the ap325rxa board code. Remove duplicate MSTPCR register definitions. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards')
-rw-r--r--arch/sh/boards/renesas/ap325rxa/setup.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sh/boards/renesas/ap325rxa/setup.c b/arch/sh/boards/renesas/ap325rxa/setup.c
index f8d6d41893a3..333b15cd7952 100644
--- a/arch/sh/boards/renesas/ap325rxa/setup.c
+++ b/arch/sh/boards/renesas/ap325rxa/setup.c
@@ -97,20 +97,8 @@ static int __init ap325rxa_devices_setup(void)
97} 97}
98device_initcall(ap325rxa_devices_setup); 98device_initcall(ap325rxa_devices_setup);
99 99
100#define MSTPCR0 (0xA4150030)
101#define MSTPCR1 (0xA4150034)
102#define MSTPCR2 (0xA4150038)
103
104static void __init ap325rxa_setup(char **cmdline_p) 100static void __init ap325rxa_setup(char **cmdline_p)
105{ 101{
106 /* enable VEU0 + VEU1 */
107 ctrl_outl(ctrl_inl(MSTPCR2) & ~0x00000044, MSTPCR2); /* bit 2 + 6 */
108
109 /* enable MERAM */
110 ctrl_outl(ctrl_inl(MSTPCR0) & ~0x00000001, MSTPCR0); /* bit 0 */
111
112 /* I2C */
113 ctrl_outl(ctrl_inl(MSTPCR1) & ~0x00000200, MSTPCR1);
114} 102}
115 103
116static struct sh_machine_vector mv_ap325rxa __initmv = { 104static struct sh_machine_vector mv_ap325rxa __initmv = {