Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
diff --git a/common/cmd_misc.c b/common/cmd_misc.c
index 76fe267..674eafc 100644
--- a/common/cmd_misc.c
+++ b/common/cmd_misc.c
@@ -56,15 +56,15 @@
#if (CONFIG_COMMANDS & CFG_CMD_IRQ)
int do_irqinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
-cmd_tbl_t U_BOOT_CMD(IRQINFO) = MK_CMD_ENTRY(
- "irqinfo", 1, 1, do_irqinfo,
+U_BOOT_CMD(
+ irqinfo, 1, 1, do_irqinfo,
"irqinfo - print information about IRQs\n",
NULL
);
#endif /* CONFIG_COMMANDS & CFG_CMD_IRQ */
-cmd_tbl_t U_BOOT_CMD(MISC) = MK_CMD_ENTRY(
- "sleep" , 2, 2, do_sleep,
+U_BOOT_CMD(
+ sleep , 2, 2, do_sleep,
"sleep - delay execution for some time\n",
"N\n"
" - delay execution for N seconds (N is _decimal_ !!!)\n"