summaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-29 21:03:46 +0000
committerwdenk <wdenk>2003-06-29 21:03:46 +0000
commitb0fce99bfc116c2ddb4506268d6e4a0a7054478d (patch)
tree6a11d99f1e350d9046c1c0e17298fa2bccd7db3e /common/command.c
parenteeacb89cb311fe273fef0f20b2bacf589b36f8f4 (diff)
downloadu-boot-imx-b0fce99bfc116c2ddb4506268d6e4a0a7054478d.zip
u-boot-imx-b0fce99bfc116c2ddb4506268d6e4a0a7054478d.tar.gz
u-boot-imx-b0fce99bfc116c2ddb4506268d6e4a0a7054478d.tar.bz2
Fix some missing commands, cleanup header files
(autoscript, bmp, bsp, fat, mmc, nand, portio, ...)
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/common/command.c b/common/command.c
index 059da7c..9a982b8 100644
--- a/common/command.c
+++ b/common/command.c
@@ -36,6 +36,12 @@ do_version (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
+cmd_tbl_t U_BOOT_CMD(VERS) = MK_CMD_ENTRY(
+ "version", 1, 1, do_version,
+ "version - print monitor version\n",
+ NULL
+);
+
int
do_echo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
@@ -61,6 +67,13 @@ do_echo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
+cmd_tbl_t U_BOOT_CMD(ECHO) = MK_CMD_ENTRY(
+ "echo", CFG_MAXARGS, 1, do_echo,
+ "echo - echo args to console\n",
+ "[args..]\n"
+ " - echo args to console; \\c suppresses newline\n"
+);
+
/*
* Use puts() instead of printf() to avoid printf buffer overflow
* for long help messages
@@ -162,19 +175,6 @@ cmd_tbl_t U_BOOT_CMD(QUES) = MK_CMD_ENTRY(
NULL
);
-cmd_tbl_t U_BOOT_CMD(VERS) = MK_CMD_ENTRY(
- "version", 1, 1, do_version,
- "version - print monitor version\n",
- NULL
-);
-
-cmd_tbl_t U_BOOT_CMD(ECHO) = MK_CMD_ENTRY(
- "echo", CFG_MAXARGS, 1, do_echo,
- "echo - echo args to console\n",
- "[args..]\n"
- " - echo args to console; \\c suppresses newline\n"
-);
-
/***************************************************************************
* find command table entry for a command
*/