summaryrefslogtreecommitdiff
path: root/doc/develop
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 /doc/develop
parentce05ec4895ddc47c39aa4a9a51a0ad17dfbb178b (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 <cniedermaier@dh-electronics.com> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'doc/develop')
-rw-r--r--doc/develop/environment.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/develop/environment.rst b/doc/develop/environment.rst
index e1783462bb0..e46cd39d601 100644
--- a/doc/develop/environment.rst
+++ b/doc/develop/environment.rst
@@ -18,8 +18,8 @@ The callbacks are named and associated with a function using the
U_BOOT_ENV_CALLBACK macro in your board or driver code.
These callbacks are associated with variables in one of two ways. The
-static list can be added to by defining CFG_ENV_CALLBACK_LIST_STATIC
-in the board configuration to a string that defines a list of
+static list can be added to by defining CONFIG_ENV_CALLBACK_LIST_STATIC
+in the board defconfig via menuconfig to a string that defines a list of
associations. The list must be in the following format::
entry = variable_name[:callback_name]