mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
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>
This commit is contained in:
parent
016f4dcae8
commit
5e21828034
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ int __init zynq_early_slcr_init(void)
|
||||||
BUG();
|
BUG();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
np->data = (__force void *)zynq_slcr_base;
|
||||||
|
|
||||||
/* unlock the SLCR so that registers can be changed */
|
/* unlock the SLCR so that registers can be changed */
|
||||||
writel(SLCR_UNLOCK_MAGIC, zynq_slcr_base + SLCR_UNLOCK_OFFSET);
|
writel(SLCR_UNLOCK_MAGIC, zynq_slcr_base + SLCR_UNLOCK_OFFSET);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue