diff mbox series

[5/5] riscv: sifive: fu540: Add gpio-restart support

Message ID 1592890186-18082-5-git-send-email-bmeng.cn@gmail.com
State New
Headers show
Series [1/5] sysreset: syscon: Don't assume default value for offset and mask property | expand

Commit Message

Bin Meng June 23, 2020, 5:29 a.m. UTC
From: Bin Meng <bin.meng at windriver.com>

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 at windriver.com>
---

 board/sifive/fu540/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Sagar Shrikant Kadam June 26, 2020, 4:10 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Bin Meng <bmeng.cn at gmail.com>
> Sent: Tuesday, June 23, 2020 11:00 AM
> To: Rick Chen <rick at andestech.com>; Simon Glass <sjg at chromium.org>;
> Pragnesh Patel <pragnesh.patel at sifive.com>; Sagar Kadam
> <sagar.kadam at sifive.com>; U-Boot Mailing List <u-boot at lists.denx.de>
> Cc: Bin Meng <bin.meng at windriver.com>
> Subject: [PATCH 5/5] riscv: sifive: fu540: Add gpio-restart support
> 
> [External Email] Do not click links or attachments unless you recognize the
> sender and know the content is safe
> 
> From: Bin Meng <bin.meng at windriver.com>
> 
> 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 at windriver.com>
> ---
> 
>  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
> 

Looks Good.
Reviewed-by: Sagar Kadam <sagar.kadam at sifive.com>
Tested-by: Sagar Kadam <sagar.kadam at sifive.com>

>  endif
> --
> 2.7.4
Pragnesh Patel June 26, 2020, 7:07 a.m. UTC | #2
>-----Original Message-----
>From: Bin Meng <bmeng.cn at gmail.com>
>Sent: 23 June 2020 11:00
>To: Rick Chen <rick at andestech.com>; Simon Glass <sjg at chromium.org>;
>Pragnesh Patel <pragnesh.patel at sifive.com>; Sagar Kadam
><sagar.kadam at sifive.com>; U-Boot Mailing List <u-boot at lists.denx.de>
>Cc: Bin Meng <bin.meng at windriver.com>
>Subject: [PATCH 5/5] riscv: sifive: fu540: Add gpio-restart support
>
>[External Email] Do not click links or attachments unless you recognize the
>sender and know the content is safe
>
>From: Bin Meng <bin.meng at windriver.com>
>
>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 at windriver.com>
>---
>
> board/sifive/fu540/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)

Reviewed-by: Pragnesh Patel <pragnesh.patel at sifive.com>
diff mbox series

Patch

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