Convert CONFIG_OVERWRITE_ETHADDR_ONCE to Kconfig

This converts the following to Kconfig:
   CONFIG_OVERWRITE_ETHADDR_ONCE

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2022-12-02 16:42:39 -05:00
parent 3348c6b6a5
commit 0a69d6afca
9 changed files with 13 additions and 17 deletions

9
env/Kconfig vendored
View File

@@ -30,6 +30,15 @@ config ENV_OVERWRITE
Use this to permit overriding of certain environmental variables
like Ethernet and Serial
config OVERWRITE_ETHADDR_ONCE
bool "Enable overwriting ethaddr environment variables once"
depends on !ENV_OVERWRITE
help
Enable this to allow for the ethaddr environment variables to be
overwritten one time per boot, only. This allows for a default
to be installed in the environment, which can be changed exactly ONCE
by the user.
config ENV_MIN_ENTRIES
int "Minimum number of entries in the environment hashtable"
default 64