diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-11-26 09:41:31 -0500 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-02-10 05:20:54 -0500 |
commit | 016f4dcae81e842a2b7dbfbc0fc9257f9f16e785 (patch) | |
tree | 8f8ba77ad9ae0d0c1636af037e35f2ab4fdba6d1 /arch/arm/mach-zynq/common.c | |
parent | 6f69c7f21ce89409ccc54bd596434fa61d5b26ff (diff) |
ARM: zynq: Split slcr in two parts
Split the slcr into an early part for unlocking and cpu starting
and a later syscon driver.
Also add "syscon" compatible property for slcr.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index bf6717f5cd3c..38401cf78383 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c | |||
@@ -59,11 +59,13 @@ static void __init zynq_init_machine(void) | |||
59 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 59 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
60 | 60 | ||
61 | platform_device_register(&zynq_cpuidle_device); | 61 | platform_device_register(&zynq_cpuidle_device); |
62 | |||
63 | zynq_slcr_init(); | ||
62 | } | 64 | } |
63 | 65 | ||
64 | static void __init zynq_timer_init(void) | 66 | static void __init zynq_timer_init(void) |
65 | { | 67 | { |
66 | zynq_slcr_init(); | 68 | zynq_early_slcr_init(); |
67 | 69 | ||
68 | zynq_clock_init(zynq_slcr_base); | 70 | zynq_clock_init(zynq_slcr_base); |
69 | clocksource_of_init(); | 71 | clocksource_of_init(); |