Commit a55d29d2ac658b33989a7c4c368beff46a98bcde
Committed by
Tom Rini
1 parent
dcab138793
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
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>
Showing 7 changed files with 11 additions and 3 deletions Side-by-side Diff
README
... | ... | @@ -833,7 +833,6 @@ |
833 | 833 | CONFIG_CMD_ECHO echo arguments |
834 | 834 | CONFIG_CMD_EDITENV edit env variable |
835 | 835 | CONFIG_CMD_ELF * bootelf, bootvx |
836 | - CONFIG_CMD_ENV_CALLBACK * display details about env callbacks | |
837 | 836 | CONFIG_CMD_ENV_FLAGS * display details about env flags |
838 | 837 | CONFIG_CMD_ENV_EXISTS * check existence of env variable |
839 | 838 | CONFIG_CMD_EXPORTENV * export the environment |
cmd/Kconfig
... | ... | @@ -314,6 +314,14 @@ |
314 | 314 | Check if a variable is defined in the environment for use in |
315 | 315 | shell scripting. |
316 | 316 | |
317 | +config CMD_ENV_CALLBACK | |
318 | + bool "env callbacks - print callbacks and their associated variables" | |
319 | + help | |
320 | + Some environment variable have callbacks defined by | |
321 | + U_BOOT_ENV_CALLBACK. These are called when the variable changes. | |
322 | + For example changing "baudrate" adjust the serial baud rate. This | |
323 | + command lists the currently defined callbacks. | |
324 | + | |
317 | 325 | endmenu |
318 | 326 | |
319 | 327 | menu "Memory commands" |
configs/sandbox_defconfig
configs/sandbox_noblk_defconfig
configs/sandbox_spl_defconfig
include/configs/sandbox.h