diff options
author | Josh Cartwright <joshc@ni.com> | 2015-03-19 15:24:38 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-05-18 14:46:36 +0200 |
commit | 64e686176007de9b9aa735b71e8fa1c2979a00ce (patch) | |
tree | 293545338c82dc9561d742835bbcfcc9452fc9a4 /arch/arm/mach-zynq/common.c | |
parent | Linux 4.1-rc1 (diff) | |
download | linux-64e686176007de9b9aa735b71e8fa1c2979a00ce.tar.xz linux-64e686176007de9b9aa735b71e8fa1c2979a00ce.zip |
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>
Diffstat (limited to 'arch/arm/mach-zynq/common.c')
-rw-r--r-- | arch/arm/mach-zynq/common.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index 58ef2a700414..616d5840fc2e 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c @@ -190,11 +190,6 @@ static void __init zynq_irq_init(void) irqchip_init(); } -static void zynq_system_reset(enum reboot_mode mode, const char *cmd) -{ - zynq_slcr_system_reset(); -} - static const char * const zynq_dt_match[] = { "xlnx,zynq-7000", NULL @@ -212,5 +207,4 @@ DT_MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") .init_time = zynq_timer_init, .dt_compat = zynq_dt_match, .reserve = zynq_memory_init, - .restart = zynq_system_reset, MACHINE_END |