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>
diff --git a/env/Kconfig b/env/Kconfig
index c28d9e8..7ca992a 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -30,6 +30,15 @@
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