aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-10-01 07:40:47 +0200
committerLeo Yu-Chi Liang2023-10-04 18:23:59 +0800
commit7cfdacbe8020292845bd5eba63b576b8586c433c (patch)
tree6a1e90cd5a0552d91cc88f1c45887d450c545030
parent8a0d5f2f51b72b3cabacfe90ff196db3e1c4dc4d (diff)
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 <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r--configs/sifive_unmatched_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sifive_unmatched_defconfig b/configs/sifive_unmatched_defconfig
index 867611b6b4e..71c0fb39320 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