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>
(cherry picked from commit dca82739b9)
This commit is contained in:
committed by
Simon Glass
parent
55d8fc5a47
commit
e1a3529832
13
env/Kconfig
vendored
13
env/Kconfig
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user