diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2013-11-26 14:02:44 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-02-10 11:21:06 +0100 |
commit | 5e2182803497c22d50675f0f3af12bf5305e8716 (patch) | |
tree | 1d661c46e3638d183d1b33356097eeae0d2a4648 /arch/arm/mach-zynq/slcr.c | |
parent | 016f4dcae81e842a2b7dbfbc0fc9257f9f16e785 (diff) | |
download | op-kernel-dev-5e2182803497c22d50675f0f3af12bf5305e8716.zip op-kernel-dev-5e2182803497c22d50675f0f3af12bf5305e8716.tar.gz |
ARM: zynq: Hang iomapped slcr address on device_node
For later usage by zynq clk driver.
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/slcr.c')
-rw-r--r-- | arch/arm/mach-zynq/slcr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c index 899f979..db5cb31 100644 --- a/arch/arm/mach-zynq/slcr.c +++ b/arch/arm/mach-zynq/slcr.c @@ -123,6 +123,8 @@ int __init zynq_early_slcr_init(void) BUG(); } + np->data = (__force void *)zynq_slcr_base; + /* unlock the SLCR so that registers can be changed */ writel(SLCR_UNLOCK_MAGIC, zynq_slcr_base + SLCR_UNLOCK_OFFSET); |