projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adjust "echo" as a default command
[platform/kernel/u-boot.git]
/
common
/
command.c
diff --git
a/common/command.c
b/common/command.c
index
2b4c554
..
e917975
100644
(file)
--- 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