aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/mx31moboard.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-02-16 08:36:49 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-13 05:33:47 -0400
commit30c730f8f90b08d77a73998d2ee34cf1f56e95cc (patch)
tree4b73291db523a77d2ca36a65ba7e0d1a8ff6e56e /arch/arm/mach-mx3/mx31moboard.c
parenta2865197a5dad23c619c84f44b7fdf7fdbef3f9c (diff)
[ARM] MXC: rework timer/clock initialisation
- rename mxc_clocks_init to architecture specific versions. This allows us to have more than one architecture compiled in. - call mxc_timer_init from clock initialisation instead from board code Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mx31moboard.c')
-rw-r--r--arch/arm/mach-mx3/mx31moboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mx3/mx31moboard.c b/arch/arm/mach-mx3/mx31moboard.c
index c29098af7394..3d2773e4bc81 100644
--- a/arch/arm/mach-mx3/mx31moboard.c
+++ b/arch/arm/mach-mx3/mx31moboard.c
@@ -120,8 +120,7 @@ void __init mx31moboard_map_io(void)
120 120
121static void __init mx31moboard_timer_init(void) 121static void __init mx31moboard_timer_init(void)
122{ 122{
123 mxc_clocks_init(26000000); 123 mx31_clocks_init(26000000);
124 mxc_timer_init("ipg_clk.0");
125} 124}
126 125
127struct sys_timer mx31moboard_timer = { 126struct sys_timer mx31moboard_timer = {