linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel external clk setup
@ 2012-03-06  7:30 Magnus Damm
  2012-03-06  7:31 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Magnus Damm
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Magnus Damm @ 2012-03-06  7:30 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

Move the board specific external clock setting for sh7372 Mackerel
from machine_desc->sys_timer->init() to machine_desc->init_machine().

This is ground work for shmobile timer code consolidation.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/arm/mach-shmobile/board-mackerel.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- 0004/arch/arm/mach-shmobile/board-mackerel.c
+++ work/arch/arm/mach-shmobile/board-mackerel.c	2012-03-06 12:43:35.000000000 +0900
@@ -1348,6 +1348,9 @@ static void __init mackerel_init(void)
 	struct clk *clk;
 	int ret;
 
+	/* External clock source */
+	clk_set_rate(&sh7372_dv_clki_clk, 27000000);
+
 	sh7372_pinmux_init();
 
 	/* enable SCIFA0 */
@@ -1555,9 +1558,6 @@ static void __init mackerel_timer_init(v
 {
 	sh7372_clock_init();
 	shmobile_timer.init();
-
-	/* External clock source */
-	clk_set_rate(&sh7372_dv_clki_clk, 27000000);
 }
 
 static struct sys_timer mackerel_timer = {

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-07 21:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06  7:30 [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel external clk setup Magnus Damm
2012-03-06  7:31 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Magnus Damm
2012-03-07 21:58 ` [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel " Rafael J. Wysocki
2012-03-07 21:58 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).