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

Sagar Kadam sagar.kadam at sifive.com
Fri Jun 26 06:10:56 CEST 2020


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



More information about the U-Boot mailing list