diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2010-10-01 22:51:02 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-06 22:46:35 +0200 |
commit | fc5fc76bdad14425e3743e1494c9e444570df1be (patch) | |
tree | 5df077daeb219502a905e6291d2858b3ce5dd940 /board/gdsys/dlvision | |
parent | f44a928e7ea0912f278f2cf8ba1354fccf2ba64e (diff) | |
download | u-boot-imx-fc5fc76bdad14425e3743e1494c9e444570df1be.zip u-boot-imx-fc5fc76bdad14425e3743e1494c9e444570df1be.tar.gz u-boot-imx-fc5fc76bdad14425e3743e1494c9e444570df1be.tar.bz2 |
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 'board/gdsys/dlvision')
0 files changed, 0 insertions, 0 deletions