]> git.ipfire.org Git - people/ms/u-boot.git/commit - cmd/nvedit.c
autocomplete: remove runtime handler install
authorMike Frysinger <vapier@gentoo.org>
Wed, 20 Oct 2010 07:52:39 +0000 (03:52 -0400)
committerWolfgang Denk <wd@denx.de>
Sun, 28 Nov 2010 20:49:27 +0000 (21:49 +0100)
commit722b061b6f6f3405118f2969272511e7e19990e3
tree95224fa696a76e33424bb60114234da3618db7c6
parent882b7d726febe65579d6502c271412ecb05821d7
autocomplete: remove runtime handler install

Rather than add runtime overhead of installing completion handlers, do it
statically at build time.  This requires a new build time helper macro to
declare a command and the completion handler at the same time.  Then we
convert the env related funcs over to this.

This gives an opportunity to also unify the U_BOOT_CMD macros.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_nvedit.c
common/command.c
common/main.c
include/command.h