]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: sifive: enable poweroff command on Unmatched
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 1 Oct 2023 05:40:47 +0000 (07:40 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 4 Oct 2023 10:23:59 +0000 (18:23 +0800)
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>
configs/sifive_unmatched_defconfig

index 867611b6b4ed8c8d82f45be69311548c91e6d52d..71c0fb39320c7084217000b921a34927fe1a0c11 100644 (file)
@@ -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