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>
This commit is contained in:
committed by
Tom Rini
parent
ce05ec4895
commit
dca82739b9
@@ -14,11 +14,6 @@
|
||||
|
||||
#define ENV_CALLBACK_VAR ".callbacks"
|
||||
|
||||
/* Board configs can define additional static callback bindings */
|
||||
#ifndef CFG_ENV_CALLBACK_LIST_STATIC
|
||||
#define CFG_ENV_CALLBACK_LIST_STATIC
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SILENT_CONSOLE
|
||||
#define SILENT_CALLBACK "silent:silent,"
|
||||
#else
|
||||
@@ -90,7 +85,7 @@
|
||||
SILENT_CALLBACK \
|
||||
"stdin:console,stdout:console,stderr:console," \
|
||||
"serial#:serialno," \
|
||||
CFG_ENV_CALLBACK_LIST_STATIC
|
||||
CONFIG_ENV_CALLBACK_LIST_STATIC
|
||||
|
||||
#ifndef CONFIG_XPL_BUILD
|
||||
void env_callback_init(struct env_entry *var_entry);
|
||||
|
||||
Reference in New Issue
Block a user