ARM: zynq: Use restart_handler mechanism for slcr reset
authorJosh Cartwright <joshc@ni.com>
Thu, 19 Mar 2015 14:24:38 +0000 (09:24 -0500)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 18 May 2015 12:46:36 +0000 (14:46 +0200)
commit64e686176007de9b9aa735b71e8fa1c2979a00ce
tree293545338c82dc9561d742835bbcfcc9452fc9a4
parentb787f68c36d49bb1d9236f403813641efa74a031
ARM: zynq: Use restart_handler mechanism for slcr reset

By making use of the restart_handler chain mechanism, the SLCR-based
reset mechanism can be prioritized amongst other mechanisms available on
a particular board.

Choose a default high-ish priority of 192 for this restart mechanism.

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