summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 52e1f171bb..e9f6e25275 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -6,6 +6,10 @@ config COMMAND_SUPPORT
depends on !SHELL_NONE
default y
+config HAS_POWEROFF
+ bool
+ default n
+
if COMMAND_SUPPORT
menu "commands "
@@ -422,6 +426,11 @@ config CMD_RESET
tristate
prompt "reset"
+config CMD_POWEROFF
+ tristate
+ depends on HAS_POWEROFF
+ prompt "poweroff"
+
config CMD_GO
tristate
prompt "go"