Re: [PATCH 1/1] configs: sifive: enable poweroff command on Unmatched

2023-10-13 Thread Rick Chen
> From: Heinrich Schuchardt 
> Sent: Sunday, October 01, 2023 1:41 PM
> To: Paul Walmsley ; Green Wan 
> Cc: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) 
> ; u-boot@lists.denx.de; Heinrich Schuchardt 
> 
> Subject: [PATCH 1/1] configs: sifive: enable poweroff command on Unmatched
>
> Powering off the SiFive HiFive Unmatched board is supported both via the SBI 
> and GPIO sysreset drivers. See device-tree entry
>
> compatible = "gpio-poweroff".
>
> Enable the poweroff command.
>
> Signed-off-by: Heinrich Schuchardt 
> ---
>  configs/sifive_unmatched_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Rick Chen 


Re: [PATCH 1/1] configs: sifive: enable poweroff command on Unmatched

2023-10-04 Thread Leo Liang
On Sun, Oct 01, 2023 at 07:40:47AM +0200, Heinrich Schuchardt wrote:
> Powering off the SiFive HiFive Unmatched board is supported both via the
> SBI and GPIO sysreset drivers. See device-tree entry
> 
> compatible = "gpio-poweroff".
> 
> Enable the poweroff command.
> 
> Signed-off-by: Heinrich Schuchardt 
> ---
>  configs/sifive_unmatched_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Leo Yu-Chi Liang 


[PATCH 1/1] configs: sifive: enable poweroff command on Unmatched

2023-09-30 Thread Heinrich Schuchardt
Powering off the SiFive HiFive Unmatched board is supported both via the
SBI and GPIO sysreset drivers. See device-tree entry

compatible = "gpio-poweroff".

Enable the poweroff command.

Signed-off-by: Heinrich Schuchardt 
---
 configs/sifive_unmatched_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/sifive_unmatched_defconfig 
b/configs/sifive_unmatched_defconfig
index 867611b6b4..71c0fb3932 100644
--- a/configs/sifive_unmatched_defconfig
+++ b/configs/sifive_unmatched_defconfig
@@ -47,6 +47,7 @@ CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_PWM=y
 CONFIG_CMD_GPT_RENAME=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_POWEROFF=y
 CONFIG_CMD_USB=y
 CONFIG_ENV_SPI_BUS=1
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-- 
2.40.1