From: Andre Heider Date: Tue, 12 Jan 2021 09:42:49 +0100 Subject: [PATCH 0/3] arm: mvebu: Espressobin: Set default env values at runtime In-Reply-To: <73578fa9-3be1-0ccb-bdcc-8b934866cae3@gmail.com> References: <20201223112130.31389-1-pali@kernel.org> <20210111105108.wchxfpm7f56ddsdo@pali> <73578fa9-3be1-0ccb-bdcc-8b934866cae3@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.