summaryrefslogtreecommitdiff
path: root/include/configs/hammerhead.h
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2011-04-04 15:17:45 +0000
committerWolfgang Denk <wd@denx.de>2011-04-28 00:54:40 +0200
commitaf4d9074aa0ed7c0d62084af02a6967d69915de6 (patch)
tree1d4dc4bc5a0245c5854f7739145fb2a67fd7096e /include/configs/hammerhead.h
parentf314313494f50aae7b5f75764d67c9f02c84c4df (diff)
downloadu-boot-imx-af4d9074aa0ed7c0d62084af02a6967d69915de6.zip
u-boot-imx-af4d9074aa0ed7c0d62084af02a6967d69915de6.tar.gz
u-boot-imx-af4d9074aa0ed7c0d62084af02a6967d69915de6.tar.bz2
env: fix env var autocompletion
commit 560d424b6d7cd4205b062ad95f1b104bd4f8bcc3 "env: re-add support for auto-completion" fell short of its description - the 'used' logic in hmatch_r was reversed - 'used' is 0 if the hash table entry is not used, or -1 if deleted. This patch makes hmatch_r actually match on valid ('used') entries, instead of skipping them and failing to match anything. typing 'printenv tft' and hitting 'tab' now displays valid choices for variable names. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Mike Frysinger <vapier@gentoo.org> Tested-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/configs/hammerhead.h')
0 files changed, 0 insertions, 0 deletions