]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_CMD_ENV_CALLBACK to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:13 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 13:33:53 +0000 (09:33 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_ENV_CALLBACK

Signed-off-by: Simon Glass <sjg@chromium.org>
README
cmd/Kconfig
configs/sandbox_defconfig
configs/sandbox_noblk_defconfig
configs/sandbox_spl_defconfig
include/configs/sandbox.h
scripts/config_whitelist.txt

diff --git a/README b/README
index a6af0a209c3f314ecdffbeba7ee1ae42ee7aebc5..a785dbfbca85b3572fbce4b470deab96006323b8 100644 (file)
--- a/README
+++ b/README
@@ -833,7 +833,6 @@ The following options need to be configured:
                CONFIG_CMD_ECHO           echo arguments
                CONFIG_CMD_EDITENV        edit env variable
                CONFIG_CMD_ELF          * bootelf, bootvx
-               CONFIG_CMD_ENV_CALLBACK * display details about env callbacks
                CONFIG_CMD_ENV_FLAGS    * display details about env flags
                CONFIG_CMD_ENV_EXISTS   * check existence of env variable
                CONFIG_CMD_EXPORTENV    * export the environment
index 6b9feff94c6deec05d4e9124e3a4ea8cbc19ade9..3ac876403c1f9cbab3d119b647605cb7bef3a38c 100644 (file)
@@ -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"
index 541705766487ccf6a2038957251bf04aca3716bb..410277a2873139b2f78c315539b06d8d30e85abb 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_ENV_CALLBACK=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
index 6c6e6596b3d0c6adc9a0a7c4063647c9f56ba484..090e057515773d2ec562564edbe33ca6aafb7cf8 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_ENV_CALLBACK=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
index cdeb30cb8d7db6d3d15918adda882c2af1016407..b623e297fbf7fd0895e99d348ac432b2124a9652 100644 (file)
@@ -30,6 +30,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_ENV_CALLBACK=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
index 8ba37fc2455f6f7c1d817a71fcb2cefa8a308744..9aa18d465f33eaff32d339c31dbfc0d4b15de7ba 100644 (file)
 #define CONFIG_CMD_SANDBOX
 
 #define CONFIG_CMD_ENV_FLAGS
-#define CONFIG_CMD_ENV_CALLBACK
 
 #define CONFIG_BOOTARGS ""
 
index ec9ee88b17941c51ac7bd9e0826cc40dcc9fc29f..0cece7d7043186226ce61c20814d2c0b7f03f212 100644 (file)
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ENV_CALLBACK
 CONFIG_CMD_ENV_FLAGS
 CONFIG_CMD_ERRATA
 CONFIG_CMD_ESBC_VALIDATE