summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2010-10-02 00:51:02 +0400
committerWolfgang Denk <wd@denx.de>2010-10-07 00:46:35 +0400
commitfc5fc76bdad14425e3743e1494c9e444570df1be (patch)
tree5df077daeb219502a905e6291d2858b3ce5dd940 /drivers/hwmon
parentf44a928e7ea0912f278f2cf8ba1354fccf2ba64e (diff)
downloadu-boot-fc5fc76bdad14425e3743e1494c9e444570df1be.tar.xz
lib/hashtable.c: add CONFIG_ENV_MIN_ENTRIES
This patch adds a new config parameter for adjusting the calculation of hash table size when importing a buffer. When importing a extremely small buffer (e.g. the default_environment) the old calculation generated a hash table which could hold at most the buffer content but no more entires. The new calculation add a fixed number of entries to the result to fit better for small import buffers. This amount may be configured by the user in board file to adjust the behaviour. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions