summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 03:25:13 -0600
committerTom Rini <trini@konsulko.com>2017-05-22 09:33:53 -0400
commita55d29d2ac658b33989a7c4c368beff46a98bcde (patch)
tree989f0f7704c2b4753ee6ccc40953161a1c415e7d /cmd
parentdcab138793d9fde507e48e3b956bb4d824ff5eb4 (diff)
Convert CONFIG_CMD_ENV_CALLBACK to Kconfig
This converts the following to Kconfig: CONFIG_CMD_ENV_CALLBACK Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 6b9feff94c..3ac876403c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -314,6 +314,14 @@ config CMD_ENV_EXISTS
Check if a variable is defined in the environment for use in
shell scripting.
+config CMD_ENV_CALLBACK
+ bool "env callbacks - print callbacks and their associated variables"
+ help
+ Some environment variable have callbacks defined by
+ U_BOOT_ENV_CALLBACK. These are called when the variable changes.
+ For example changing "baudrate" adjust the serial baud rate. This
+ command lists the currently defined callbacks.
+
endmenu
menu "Memory commands"