From f9bad4449aa97aa2eb21f2254c0ad1515119888a Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Sat, 14 Oct 2023 11:31:34 +0300 Subject: [PATCH] u-boot: gru: Enable poweroff command We should be able to power the board off from U-Boot command line. Enable the "poweroff" command for gru boards so we can. Signed-off-by: Alper Nebi Yasak --- config/u-boot/gru_bob/config/default | 3 ++- config/u-boot/gru_kevin/config/default | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/u-boot/gru_bob/config/default b/config/u-boot/gru_bob/config/default index 9150a519..b92fdd0b 100644 --- a/config/u-boot/gru_bob/config/default +++ b/config/u-boot/gru_bob/config/default @@ -798,7 +798,7 @@ CONFIG_CMD_MMC=y CONFIG_CMD_PART=y # CONFIG_CMD_PCI is not set CONFIG_CMD_PINMUX=y -# CONFIG_CMD_POWEROFF is not set +CONFIG_CMD_POWEROFF=y # CONFIG_CMD_READ is not set # CONFIG_CMD_SATA is not set # CONFIG_CMD_SDRAM is not set @@ -1917,6 +1917,7 @@ CONFIG_ROCKCHIP_SPI=y CONFIG_SYSRESET=y CONFIG_SPL_SYSRESET=y CONFIG_SYSRESET_CMD_RESET=y +# CONFIG_SYSRESET_CMD_POWEROFF is not set # CONFIG_POWEROFF_GPIO is not set # CONFIG_SYSRESET_GPIO is not set # CONFIG_SYSRESET_PSCI is not set diff --git a/config/u-boot/gru_kevin/config/default b/config/u-boot/gru_kevin/config/default index d715151d..22d11a8f 100644 --- a/config/u-boot/gru_kevin/config/default +++ b/config/u-boot/gru_kevin/config/default @@ -798,7 +798,7 @@ CONFIG_CMD_MMC=y CONFIG_CMD_PART=y # CONFIG_CMD_PCI is not set CONFIG_CMD_PINMUX=y -# CONFIG_CMD_POWEROFF is not set +CONFIG_CMD_POWEROFF=y # CONFIG_CMD_READ is not set # CONFIG_CMD_SATA is not set # CONFIG_CMD_SDRAM is not set @@ -1917,6 +1917,7 @@ CONFIG_ROCKCHIP_SPI=y CONFIG_SYSRESET=y CONFIG_SPL_SYSRESET=y CONFIG_SYSRESET_CMD_RESET=y +# CONFIG_SYSRESET_CMD_POWEROFF is not set # CONFIG_POWEROFF_GPIO is not set # CONFIG_SYSRESET_GPIO is not set # CONFIG_SYSRESET_PSCI is not set