summaryrefslogtreecommitdiff
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-10-27 22:29:22 +0300
committerSimon Glass <sjg@chromium.org>2020-11-05 19:11:30 +0300
commitb1ad4157638ed4f22d8ae59c434f694730163bca (patch)
treeeaf4b85c402eebca2025d4f86e1dd8f825d7547f /arch/Kconfig
parent6eec4b04a2d12e6efe7744ff1221597b15c9b2ed (diff)
downloadu-boot-b1ad4157638ed4f22d8ae59c434f694730163bca.tar.xz
sandbox: enable poweroff command
The command to shut down a device is 'poweroff'. It is a deficit of the sandbox that it does not support resetting yet but shuts down upong seeing the 'reset' command. Once the sandbox properly supports reset we need the 'poweroff' command to leave the sandbox. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 3b9fcce980..18de8d807a 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -92,6 +92,7 @@ config SANDBOX
bool "Sandbox"
select BOARD_LATE_INIT
select BZIP2
+ select CMD_POWEROFF
select DM
select DM_GPIO
select DM_I2C
@@ -107,7 +108,7 @@ config SANDBOX
select PCI_ENDPOINT
select SPI
select SUPPORT_OF_CONTROL
- select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
+ select SYSRESET_CMD_POWEROFF
imply BITREVERSE
select BLOBLIST
imply CMD_DM