mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
ARM: zynq: Map I/O memory on clkc init
The clkc has its registers in the range of the slcr. Instead of passing around the slcr base address pointer, let the clkc get the address from the DT. This prepares the slcr to be a real driver with multiple memory ranges (slcr, clocks, pinctrl,...) Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
@@ -67,7 +67,7 @@ static void __init zynq_timer_init(void)
|
||||
{
|
||||
zynq_early_slcr_init();
|
||||
|
||||
zynq_clock_init(zynq_slcr_base);
|
||||
zynq_clock_init();
|
||||
clocksource_of_init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user