summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2020-06-22 22:29:46 -0700
committerAndes <uboot@andestech.com>2020-07-03 15:07:54 +0800
commitcdae446461191714d692190da1ad4344398adc57 (patch)
tree137224b7ebe17b6621880d5976557e778caabe17 /board
parentfd31e4fd184f9c203d16efed465e4ddeca1a79eb (diff)
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 <bin.meng@windriver.com> Reviewed-by: Sagar Kadam <sagar.kadam@sifive.com> Tested-by: Sagar Kadam <sagar.kadam@sifive.com> Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com>
Diffstat (limited to 'board')
-rw-r--r--board/sifive/fu540/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig
index 86193d7668..6f65681965 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