arm: juno: Use PSCI based reset
authorAndre Przywara <andre.przywara@arm.com>
Mon, 27 Apr 2020 18:18:02 +0000 (19:18 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 7 May 2020 13:01:42 +0000 (09:01 -0400)
So far the Juno board wasn't implementing reset. Let's just use the
already existing PSCI_RESET based method to avoid any extra code.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/Kconfig
board/armltd/vexpress64/vexpress64.c

index 27ae0a8b5d358432d44fead39281c7be8407130f..7c589121a05dd77fe636705adf327433da560530 100644 (file)
@@ -1167,6 +1167,8 @@ config TARGET_VEXPRESS64_JUNO
        select OF_BOARD
        select CLK
        select DM_SERIAL
+       select ARM_PSCI_FW
+       select PSCI_RESET
 
 config TARGET_LS2080A_EMU
        bool "Support ls2080a_emu"
index ba49b32e58c84e1c3122c914ccee0dc933612f5d..5c7a8f55f03598dd4a84b875b038fb28afbd0edd 100644 (file)
@@ -139,9 +139,7 @@ void *board_fdt_blob_setup(void)
 }
 #endif
 
-/*
- * Board specific reset that is system reset.
- */
+/* Actual reset is done via PSCI. */
 void reset_cpu(ulong addr)
 {
 }