summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-02 16:42:39 -0500
committerTom Rini <trini@konsulko.com>2022-12-22 10:31:48 -0500
commit0a69d6afcab9b2fa364cd78aa67340185c5f75a0 (patch)
treeba74a254923a8253ab38ed51e53101822da74578 /env
parent3348c6b6a5cbf71bde837bf80cf962ee6aaeff20 (diff)
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>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index c28d9e89f6..7ca992aa1d 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -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