aboutsummaryrefslogtreecommitdiffstats
path: root/env
diff options
context:
space:
mode:
authorChristoph Niedermaier <cniedermaier@dh-electronics.com>2024-11-20 17:01:35 +0100
committerTom Rini <trini@konsulko.com>2024-12-06 16:37:43 -0600
commitdca82739b9d767d4074e990b060f0da93ba36550 (patch)
treea75ce18698322ba8bc9ec5556d37739a3c924f82 /env
parentce05ec4895ddc47c39aa4a9a51a0ad17dfbb178b (diff)
downloadu-boot-dca82739b9d767d4074e990b060f0da93ba36550.tar.gz
env: Switch the callback static list to Kconfig
Switch the callback static list from the board configuration variable CFG_ENV_CALLBACK_LIST_STATIC to Kconfig CONFIG_ENV_CALLBACK_LIST_STATIC. Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 031cf58186a..aaf0b1fe9ac 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -21,6 +21,19 @@ config ENV_SOURCE_FILE
environment is assumed to come from the ad-hoc
CFG_EXTRA_ENV_SETTINGS #define
+config ENV_CALLBACK_LIST_STATIC
+ string "Static callbacks list"
+ default ""
+ help
+ The environment callbacks are associated with variables in a
+ static list. Define this list in the following format:
+
+ entry = variable_name[:callback_name]
+ list = entry[,list]
+
+ If the callback name is not specified, then the callback is deleted.
+ Spaces are also allowed anywhere in the list.
+
config SAVEENV
def_bool y if CMD_SAVEENV