]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: zynq: Drop use of slcr_unlock in zynq_slcr_system_restart
authorJosh Cartwright <joshc@ni.com>
Thu, 19 Mar 2015 13:33:53 +0000 (08:33 -0500)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 18 May 2015 12:46:37 +0000 (14:46 +0200)
commitef6ca1a84a3da9bf45d31399090153e00fc6cd68
treec71dfde759d84875387a6e90d466ad05bfbd5793
parent64e686176007de9b9aa735b71e8fa1c2979a00ce
ARM: zynq: Drop use of slcr_unlock in zynq_slcr_system_restart

The SLCR is unconditionally unlocked early on boot in zynq_slcr_init()
and not ever re-locked. As such, it is not necessary to explicitly unlock in
the restart codepath.

Signed-off-by: Josh Cartwright <joshc@ni.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/slcr.c