diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-02 16:42:39 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-22 10:31:48 -0500 |
commit | 0a69d6afcab9b2fa364cd78aa67340185c5f75a0 (patch) | |
tree | ba74a254923a8253ab38ed51e53101822da74578 /env | |
parent | 3348c6b6a5cbf71bde837bf80cf962ee6aaeff20 (diff) | |
download | u-boot-0a69d6afcab9b2fa364cd78aa67340185c5f75a0.zip u-boot-0a69d6afcab9b2fa364cd78aa67340185c5f75a0.tar.gz u-boot-0a69d6afcab9b2fa364cd78aa67340185c5f75a0.tar.bz2 |
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/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig index c28d9e8..7ca992a 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 |