Dear Mike Frysinger, In message <[email protected]> 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 <[email protected]> > --- > 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: [email protected] "In Christianity neither morality nor religion come into contact with reality at any point." - Friedrich Nietzsche _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

