diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-12 16:51:59 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-12 16:51:59 +0100 |
commit | 953c5b6f8b7b13b8d98227761974c67d72365c5b (patch) | |
tree | 089f4ed0c290741023465a964fa8c7bf7a15b0fe /common | |
parent | 23466d6a3304433ba8d7ff10f17260010fcc4580 (diff) | |
download | bootable_bootloader_goldelico_gta04-953c5b6f8b7b13b8d98227761974c67d72365c5b.zip bootable_bootloader_goldelico_gta04-953c5b6f8b7b13b8d98227761974c67d72365c5b.tar.gz bootable_bootloader_goldelico_gta04-953c5b6f8b7b13b8d98227761974c67d72365c5b.tar.bz2 |
Adjust "echo" as a default command
Patch by Sam Song, 19 Jun 2005
Diffstat (limited to 'common')
-rw-r--r-- | common/command.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c index 2b4c554..e917975 100644 --- a/common/command.c +++ b/common/command.c @@ -42,6 +42,8 @@ U_BOOT_CMD( NULL ); +#if (CONFIG_COMMANDS & CFG_CMD_ECHO) + int do_echo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { @@ -74,6 +76,8 @@ U_BOOT_CMD( " - echo args to console; \\c suppresses newline\n" ); +#endif /* CFG_CMD_ECHO */ + #ifdef CFG_HUSH_PARSER int |