From cdae446461191714d692190da1ad4344398adc57 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Mon, 22 Jun 2020 22:29:46 -0700 Subject: [PATCH] riscv: sifive: fu540: Add gpio-restart support The HiFive Unleashed board wires GPIO pin#10 to the input of the system reset signal. This adds gpio reboot support. Signed-off-by: Bin Meng Reviewed-by: Sagar Kadam Tested-by: Sagar Kadam Reviewed-by: Pragnesh Patel --- board/sifive/fu540/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig index 86193d7..6f65681 100644 --- a/board/sifive/fu540/Kconfig +++ b/board/sifive/fu540/Kconfig @@ -65,5 +65,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply SMP imply MISC imply SIFIVE_OTP + imply SYSRESET + imply SYSRESET_GPIO endif -- 2.7.4