]> git.sur5r.net Git - u-boot/commit
cmd_boot: Add a poweroff command
authorMichael van Slingerland <michael@deviousops.nl>
Wed, 13 Jan 2016 18:31:17 +0000 (19:31 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jan 2016 02:05:25 +0000 (21:05 -0500)
commit4e42e29fd6aec3aa6b85c41fb944e2908a457074
tree35b5bc6eb9129b001d47f674802cf01844fb8d36
parent79206c04a9269f87fd943713db70fbc53ec05ed3
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>
common/Kconfig
common/cmd_boot.c
include/command.h