diff options
| author | Christoph Niedermaier <[email protected]> | 2024-11-20 17:01:35 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-06 16:37:43 -0600 |
| commit | dca82739b9d767d4074e990b060f0da93ba36550 (patch) | |
| tree | a75ce18698322ba8bc9ec5556d37739a3c924f82 /include/env_callback.h | |
| parent | ce05ec4895ddc47c39aa4a9a51a0ad17dfbb178b (diff) | |
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 <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/env_callback.h')
| -rw-r--r-- | include/env_callback.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/env_callback.h b/include/env_callback.h index bc8ff1923e1..47a31f6cf52 100644 --- a/include/env_callback.h +++ b/include/env_callback.h @@ -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); |
