diff options
Diffstat (limited to 'arch/arm/mach-spear6xx/spear6xx.c')
-rw-r--r-- | arch/arm/mach-spear6xx/spear6xx.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-spear6xx/spear6xx.c b/arch/arm/mach-spear6xx/spear6xx.c index de194dbb8371..2e2e3596583e 100644 --- a/arch/arm/mach-spear6xx/spear6xx.c +++ b/arch/arm/mach-spear6xx/spear6xx.c | |||
@@ -419,9 +419,6 @@ struct map_desc spear6xx_io_desc[] __initdata = { | |||
419 | void __init spear6xx_map_io(void) | 419 | void __init spear6xx_map_io(void) |
420 | { | 420 | { |
421 | iotable_init(spear6xx_io_desc, ARRAY_SIZE(spear6xx_io_desc)); | 421 | iotable_init(spear6xx_io_desc, ARRAY_SIZE(spear6xx_io_desc)); |
422 | |||
423 | /* This will initialize clock framework */ | ||
424 | spear6xx_clk_init(); | ||
425 | } | 422 | } |
426 | 423 | ||
427 | static void __init spear6xx_timer_init(void) | 424 | static void __init spear6xx_timer_init(void) |
@@ -429,6 +426,8 @@ static void __init spear6xx_timer_init(void) | |||
429 | char pclk_name[] = "pll3_48m_clk"; | 426 | char pclk_name[] = "pll3_48m_clk"; |
430 | struct clk *gpt_clk, *pclk; | 427 | struct clk *gpt_clk, *pclk; |
431 | 428 | ||
429 | spear6xx_clk_init(); | ||
430 | |||
432 | /* get the system timer clock */ | 431 | /* get the system timer clock */ |
433 | gpt_clk = clk_get_sys("gpt0", NULL); | 432 | gpt_clk = clk_get_sys("gpt0", NULL); |
434 | if (IS_ERR(gpt_clk)) { | 433 | if (IS_ERR(gpt_clk)) { |
@@ -448,7 +447,7 @@ static void __init spear6xx_timer_init(void) | |||
448 | clk_put(gpt_clk); | 447 | clk_put(gpt_clk); |
449 | clk_put(pclk); | 448 | clk_put(pclk); |
450 | 449 | ||
451 | spear_setup_timer(SPEAR6XX_CPU_TMR_BASE, IRQ_CPU_GPT1_1); | 450 | spear_setup_of_timer(); |
452 | } | 451 | } |
453 | 452 | ||
454 | struct sys_timer spear6xx_timer = { | 453 | struct sys_timer spear6xx_timer = { |