aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/common.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-03-27 07:37:53 -0400
committerMichal Simek <michal.simek@xilinx.com>2013-04-04 03:22:29 -0400
commit64b889b39e9958fdcfe5e9b7aa1ac0ffca3fc9a2 (patch)
tree6f622eb95cc4f27e57b2f84487247248675da7bf /arch/arm/mach-zynq/common.c
parent732078c369f0b6ad9fe75c1faff721e91260bc5d (diff)
arm: zynq: Move slcr initialization to separate file
Create separate slcr driver instead of polluting common code. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq/common.c')
-rw-r--r--arch/arm/mach-zynq/common.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c
index f9e5f3ac8eec..cd3968c28904 100644
--- a/arch/arm/mach-zynq/common.c
+++ b/arch/arm/mach-zynq/common.c
@@ -61,15 +61,7 @@ static void __init xilinx_init_machine(void)
61 61
62static void __init xilinx_zynq_timer_init(void) 62static void __init xilinx_zynq_timer_init(void)
63{ 63{
64 struct device_node *np; 64 zynq_slcr_init();
65 void __iomem *slcr;
66
67 np = of_find_compatible_node(NULL, NULL, "xlnx,zynq-slcr");
68 slcr = of_iomap(np, 0);
69 WARN_ON(!slcr);
70
71 xilinx_zynq_clocks_init(slcr);
72
73 clocksource_of_init(); 65 clocksource_of_init();
74} 66}
75 67