summaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynq/common.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-11-26 18:41:31 +0400
committerMichal Simek <michal.simek@xilinx.com>2014-02-10 14:20:54 +0400
commit016f4dcae81e842a2b7dbfbc0fc9257f9f16e785 (patch)
tree8f8ba77ad9ae0d0c1636af037e35f2ab4fdba6d1 /arch/arm/mach-zynq/common.c
parent6f69c7f21ce89409ccc54bd596434fa61d5b26ff (diff)
downloadlinux-016f4dcae81e842a2b7dbfbc0fc9257f9f16e785.tar.xz
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.c4
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)
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
platform_device_register(&zynq_cpuidle_device);
+
+ zynq_slcr_init();
}
static void __init zynq_timer_init(void)
{
- zynq_slcr_init();
+ zynq_early_slcr_init();
zynq_clock_init(zynq_slcr_base);
clocksource_of_init();