[U-Boot] [PATCH] autocomplete: remove runtime handler install
Wolfgang Denk
wd at denx.de
Sun Nov 28 22:02:05 CET 2010
Dear Mike Frysinger,
In message <1287561159-9517-1-git-send-email-vapier at gentoo.org> you wrote:
> 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 at gentoo.org>
> ---
> common/cmd_nvedit.c | 20 ++++++++++++--------
> common/command.c | 24 ------------------------
> common/main.c | 4 ----
> include/command.h | 30 ++++++++++++++++++------------
> 4 files changed, 30 insertions(+), 48 deletions(-)
Applied to "next" branch, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"In Christianity neither morality nor religion come into contact with
reality at any point." - Friedrich Nietzsche
More information about the U-Boot
mailing list