diff options
| author | Tom Rini <[email protected]> | 2026-05-25 13:44:45 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-25 13:44:45 -0600 |
| commit | 8d5f30b52f7c800c2177188fc4d331fb7af2c46a (patch) | |
| tree | a3f23faa01933dcb49c22ca50c8d5a9e3293a87a /env/Kconfig | |
| parent | 77efd55f89e406d49a8697fd5475b6ab2ba6497c (diff) | |
| parent | e11b0c5cab44817b3c1cb4fd29339010b4db4321 (diff) | |
Merge patch series "env: migrate static flags list to Kconfig"next
This series from James Hilliard <[email protected]> converts the
static flags list for the environment to be configured via Kconfig and
updates the documentation.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'env/Kconfig')
| -rw-r--r-- | env/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig index 7abd82ab6f3..3c9aaeb1f16 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -34,6 +34,29 @@ config ENV_CALLBACK_LIST_STATIC If the callback name is not specified, then the callback is deleted. Spaces are also allowed anywhere in the list. +config ENV_FLAGS_LIST_STATIC + string "Static flags list" + default "" + help + The environment flags are associated with variables in a static + list. Define this list in the following format: + + type_attribute = [s|d|x|b|i|m] + access_attribute = [a|r|o|c|w] + attributes = type_attribute[access_attribute] + entry = variable_name[:attributes] + list = entry[,list] + + The type attributes are s for string, d for decimal, x for + hexadecimal and b for boolean. If networking is enabled, i can + be used for IP addresses and m for MAC addresses. + + The access attributes are a for any, r for read-only, o for + write-once and c for change-default. When CONFIG_ENV_WRITEABLE_LIST + is enabled, w can be used to mark variables as writable. + + Spaces are also allowed anywhere in the list. + config SAVEENV def_bool y if CMD_SAVEENV |
