diff options
author | Michael van Slingerland <michael@deviousops.nl> | 2016-01-13 19:31:17 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-13 21:05:25 -0500 |
commit | 4e42e29fd6aec3aa6b85c41fb944e2908a457074 (patch) | |
tree | 35b5bc6eb9129b001d47f674802cf01844fb8d36 /common/Kconfig | |
parent | 79206c04a9269f87fd943713db70fbc53ec05ed3 (diff) | |
download | u-boot-imx-4e42e29fd6aec3aa6b85c41fb944e2908a457074.zip u-boot-imx-4e42e29fd6aec3aa6b85c41fb944e2908a457074.tar.gz u-boot-imx-4e42e29fd6aec3aa6b85c41fb944e2908a457074.tar.bz2 |
cmd_boot: Add a poweroff command
Add a 'poweroff' command to boot commands, this only gets enabled if the
board Kconfig does a "select CMD_POWEROFF".
Signed-off-by: Michael van Slingerland <michael@deviousops.nl>
[hdegoede@redhat.com: Make the cmd conditional on a CMD_POWEROFF Kconfig]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index ccf5475..9d446bf 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -184,6 +184,9 @@ config CMD_XIMG help Extract a part of a multi-image. +config CMD_POWEROFF + bool + endmenu menu "Environment commands" |