summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-12 20:01:58 -0400
committerTom Rini <trini@konsulko.com>2022-06-28 17:11:48 -0400
commit82e0b51ccba898e7240b2533b440ae9e534783e2 (patch)
tree8dcca55e8cdea8264e0adc6b0a9e333f91dde25a /env
parent910feb50d40acdd38b3709050fbe6b650e8c4b9d (diff)
downloadu-boot-82e0b51ccba898e7240b2533b440ae9e534783e2.tar.gz
Convert CONFIG_ENV_MIN_ENTRIES et al to Kconfig
This converts the following to Kconfig: CONFIG_ENV_MIN_ENTRIES CONFIG_ENV_MAX_ENTRIES Cc: Michal Simek <michal.simek@amd.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 2f625b2257..0aed7aea46 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -30,6 +30,22 @@ config ENV_OVERWRITE
Use this to permit overriding of certain environmental variables
like Ethernet and Serial
+config ENV_MIN_ENTRIES
+ int "Minimum number of entries in the environment hashtable"
+ default 64
+ help
+ Minimum number of entries in the hash table that is used internally
+ to store the environment settings.
+
+config ENV_MAX_ENTRIES
+ int "Maximumm number of entries in the environment hashtable"
+ default 512
+ help
+ Maximum number of entries in the hash table that is used internally
+ to store the environment settings. The default setting is supposed to
+ be generous and should work in most cases. This setting can be used
+ to tune behaviour; see lib/hashtable.c for details.
+
config ENV_IS_NOWHERE
bool "Environment is not stored"
default y if !ENV_IS_IN_EEPROM && !ENV_IS_IN_EXT4 && \