diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 03:52:39 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-28 21:49:27 +0100 |
commit | 722b061b6f6f3405118f2969272511e7e19990e3 (patch) | |
tree | 95224fa696a76e33424bb60114234da3618db7c6 /common/main.c | |
parent | 882b7d726febe65579d6502c271412ecb05821d7 (diff) | |
download | u-boot-imx-722b061b6f6f3405118f2969272511e7e19990e3.zip u-boot-imx-722b061b6f6f3405118f2969272511e7e19990e3.tar.gz u-boot-imx-722b061b6f6f3405118f2969272511e7e19990e3.tar.bz2 |
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>
Diffstat (limited to 'common/main.c')
-rw-r--r-- | common/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/main.c b/common/main.c index 878cffd..42f4d02 100644 --- a/common/main.c +++ b/common/main.c @@ -336,10 +336,6 @@ void main_loop (void) hush_init_var (); #endif -#ifdef CONFIG_AUTO_COMPLETE - install_auto_complete(); -#endif - #ifdef CONFIG_PREBOOT if ((p = getenv ("preboot")) != NULL) { # ifdef CONFIG_AUTOBOOT_KEYED |