summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-04-27 19:18:02 +0100
committerTom Rini <trini@konsulko.com>2020-05-07 09:01:42 -0400
commitbe0d09695d2bd689a3804eab82658d77eb495681 (patch)
tree41986dfc6a70ec07912eaaa5c858438d864563af
parentb3270e91385111facdb7c79c30f2943d93e63280 (diff)
downloadu-boot-be0d09695d2bd689a3804eab82658d77eb495681.tar.gz
arm: juno: Use PSCI based reset
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>
-rw-r--r--arch/arm/Kconfig2
-rw-r--r--board/armltd/vexpress64/vexpress64.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 27ae0a8b5d..7c589121a0 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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"
diff --git a/board/armltd/vexpress64/vexpress64.c b/board/armltd/vexpress64/vexpress64.c
index ba49b32e58..5c7a8f55f0 100644
--- a/board/armltd/vexpress64/vexpress64.c
+++ b/board/armltd/vexpress64/vexpress64.c
@@ -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)
{
}