riscv: sifive: fu540: Add gpio-restart support
authorBin Meng <bin.meng@windriver.com>
Tue, 23 Jun 2020 05:29:46 +0000 (22:29 -0700)
committerAndes <uboot@andestech.com>
Fri, 3 Jul 2020 07:07:54 +0000 (15:07 +0800)
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>
board/sifive/fu540/Kconfig

index 86193d7..6f65681 100644 (file)
@@ -65,5 +65,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        imply SMP
        imply MISC
        imply SIFIVE_OTP
+       imply SYSRESET
+       imply SYSRESET_GPIO
 
 endif