[PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime

Andre Heider
2021-01-12T08:42:49Z

On 12/01/2021 09:18, Andre Heider wrote:

...

> Maybe the first step can be solved with ENV_FLAGS_VAR, a new immutable
> flag, and boards just making use of CONFIG_ENV_FLAGS_LIST_DEFAULT to
> declare those. But I fail to find an example in-tree.

Found one, see ENV_FLAGS_LIST_STATIC. That even has ETHADDR_WILDCARD, so
when enabling CONFIG_REGEX it could look like this for espressobin:

CONFIG_ENV_FLAGS_LIST_DEFAULT="eth\d*addr:mX,fdtfile:X"

where "X" is the immutable flag.