ARM64: zynqmp: Wire up PSCI reset
authorMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jul 2016 11:40:19 +0000 (13:40 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 2 Aug 2016 04:54:34 +0000 (06:54 +0200)
Using PSCI to reset the system.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c

index f15dc5d71522231ed478bf3639747781bf9f59cb..0c5d9979316f2cd0a8f4fa0f2d3204ecb063f3c0 100644 (file)
@@ -307,3 +307,8 @@ int board_usb_cleanup(int index, enum usb_init_type init)
        return 0;
 }
 #endif
+
+void reset_misc(void)
+{
+       psci_system_reset(true);
+}