forked from Minki/linux
ARM: zynq: Move clock_init from slcr to common
Preparation step for next changes. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
3795e91d2a
commit
6f69c7f21c
@ -64,6 +64,8 @@ static void __init zynq_init_machine(void)
|
||||
static void __init zynq_timer_init(void)
|
||||
{
|
||||
zynq_slcr_init();
|
||||
|
||||
zynq_clock_init(zynq_slcr_base);
|
||||
clocksource_of_init();
|
||||
}
|
||||
|
||||
|
@ -106,8 +106,6 @@ int __init zynq_slcr_init(void)
|
||||
|
||||
pr_info("%s mapped to %p\n", np->name, zynq_slcr_base);
|
||||
|
||||
zynq_clock_init(zynq_slcr_base);
|
||||
|
||||
of_node_put(np);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user