]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Adjust "echo" as a default command
authorWolfgang Denk <wd@pollux.denx.de>
Sun, 12 Mar 2006 15:51:59 +0000 (16:51 +0100)
committerWolfgang Denk <wd@pollux.denx.de>
Sun, 12 Mar 2006 15:51:59 +0000 (16:51 +0100)
Patch by Sam Song, 19 Jun 2005

15 files changed:
CHANGELOG
README
common/command.c
include/cmd_confdefs.h
include/configs/ISPAN.h
include/configs/MIP405.h
include/configs/PIP405.h
include/configs/RPXsuper.h
include/configs/Rattler.h
include/configs/TQM5200.h
include/configs/gw8260.h
include/configs/ppmc8260.h
include/configs/sacsng.h
include/configs/sbc8260.h
include/configs/utx8245.h

index e532b04ed93a3564c6c402b0b83df26ed5aa0600..18f01cb3713bd0cfd679d44763807bd78416ebbc 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Adjust "echo" as a default command
+  Patch by Sam Song, 19 Jun 2005
+
 * Fix PCIDF calculation in cpu/mpc8260/speed.c for MPC8280EC
   Patch by KokHow Teh, 16 Jun 2005
 
diff --git a/README b/README
index 6f610082224e54fc0a31246cdea7ad688df1e6d1..962ab52aa10958b1a1a6d62409b7dbd361594f86 100644 (file)
--- a/README
+++ b/README
@@ -606,7 +606,7 @@ The following options need to be configured:
                CFG_CMD_DIAG    * Diagnostics
                CFG_CMD_DOC     * Disk-On-Chip Support
                CFG_CMD_DTT     * Digital Therm and Thermostat
-               CFG_CMD_ECHO    * echo arguments
+               CFG_CMD_ECHO      echo arguments
                CFG_CMD_EEPROM  * EEPROM read/write support
                CFG_CMD_ELF     * bootelf, bootvx
                CFG_CMD_ENV       saveenv
index 2b4c5547b31af616f5599e475790935823d04344..e917975a7331d21f6cf02efad21660ac2e060c77 100644 (file)
@@ -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
index 9ee4849611c3cf812027d979ea6b7eba28d2bf58..cf36583108c7bd1513eb1f1863fc1eb4053a66b9 100644 (file)
                        CFG_CMD_DISPLAY | \
                        CFG_CMD_DOC     | \
                        CFG_CMD_DTT     | \
-                       CFG_CMD_ECHO    | \
                        CFG_CMD_EEPROM  | \
                        CFG_CMD_ELF     | \
                        CFG_CMD_EXT2    | \
index 65056a21eee92a96e5c75e7cb6c39249c2f857e6..706bdb94f57ddd038ba9418b3a58c57a6e298b60 100644 (file)
 #define CONFIG_COMMANDS                ( CONFIG_CMD_DFL  \
                                | CFG_CMD_ASKENV  \
                                | CFG_CMD_DHCP    \
-                               | CFG_CMD_ECHO    \
                                | CFG_CMD_IMMAP   \
                                | CFG_CMD_MII     \
                                | CFG_CMD_PING    \
index 1f01e7be0b0a3711450b2e824e27df4ff23fbde2..7e57a0fae1497c9afba1960aa688f16f0bd341dc 100644 (file)
@@ -58,7 +58,6 @@
                        CFG_CMD_CACHE   | \
                        CFG_CMD_DATE    | \
                        CFG_CMD_DHCP    | \
-                       CFG_CMD_ECHO    | \
                        CFG_CMD_EEPROM  | \
                        CFG_CMD_ELF     | \
                        CFG_CMD_FAT     | \
index 091b768a99203d5e23fc73ed315d8a3ea6a362bb..806e95f48083d2c943652fbf87309d5f09de0726 100644 (file)
@@ -50,7 +50,6 @@
                        CFG_CMD_PCI     | \
                        CFG_CMD_CACHE   | \
                        CFG_CMD_IRQ     | \
-                       CFG_CMD_ECHO    | \
                        CFG_CMD_EEPROM  | \
                        CFG_CMD_I2C     | \
                        CFG_CMD_REGINFO | \
index 6ae9403c4690ce705c3aa2211a6299166f95b545..45907aa0e79f562d05e820f80fcf967445875e55 100644 (file)
 #define CONFIG_COMMANDS         ( CONFIG_CMD_DFL | \
                                  CFG_CMD_IMMAP  | \
                                  CFG_CMD_ASKENV | \
-                                 CFG_CMD_ECHO   | \
                                  CFG_CMD_I2C    | \
                                  CFG_CMD_REGINFO & \
                                 ~CFG_CMD_KGDB )
index a170f290e0e876cb0ed718c1d7fff19fadf28d72..dbc57e8b271cd9742ee979da0d82be72a81ecbad 100644 (file)
 
 #define CONFIG_COMMANDS                (CONFIG_CMD_DFL   \
                                | CFG_CMD_DHCP    \
-                               | CFG_CMD_ECHO    \
                                | CFG_CMD_IMMAP   \
                                | CFG_CMD_JFFS2   \
                                | CFG_CMD_MII     \
index 5ad19394817fed4b3ce3bec0e6815c4ffe140a18..6020998ae20bc0e567aa1c72b90b423372c344d2 100644 (file)
                                CFG_CMD_ASKENV  | \
                                CFG_CMD_DATE    | \
                                CFG_CMD_DHCP    | \
-                               CFG_CMD_ECHO    | \
                                CFG_CMD_EEPROM  | \
                                CFG_CMD_I2C     | \
                                CFG_CMD_JFFS2   | \
index 6c080437ffa91325efdfa3a1cabd1629c873951c..4f83b1945d305ac0943c78a4031db34b090d949e 100644 (file)
                               CFG_CMD_BEDBUG  | \
                               CFG_CMD_ELF | \
                               CFG_CMD_ASKENV  | \
-                              CFG_CMD_ECHO    | \
                               CFG_CMD_REGINFO | \
                               CFG_CMD_IMMAP   | \
                               CFG_CMD_MII)
index 757922210244c0c2f8fe934853694f71a8081879..d671dccc19b7b7464c96210728c8d7b6bd7da285 100644 (file)
 #define CONFIG_COMMANDS                (((CONFIG_CMD_DFL & ~(CFG_CMD_KGDB))) | \
                                CFG_CMD_ELF     | \
                                CFG_CMD_ASKENV  | \
-                               CFG_CMD_ECHO    | \
                                CFG_CMD_REGINFO | \
                                CFG_CMD_MEMTEST | \
                                CFG_CMD_MII     | \
index 4e0cfdb4c36244a81eabf1261a50d196d5f590ee..97b52fa1ae7940ad00c89dd424853e510a4755ae 100644 (file)
 # define CONFIG_COMMANDS       (((CONFIG_CMD_DFL & ~(CFG_CMD_KGDB))) | \
                                CFG_CMD_ELF     | \
                                CFG_CMD_ASKENV  | \
-                               CFG_CMD_ECHO    | \
                                CFG_CMD_I2C     | \
                                CFG_CMD_SPI     | \
                                CFG_CMD_SDRAM   | \
 # define CONFIG_COMMANDS       (((CONFIG_CMD_DFL & ~(CFG_CMD_KGDB))) | \
                                CFG_CMD_ELF     | \
                                CFG_CMD_ASKENV  | \
-                               CFG_CMD_ECHO    | \
                                CFG_CMD_I2C     | \
                                CFG_CMD_SPI     | \
                                CFG_CMD_SDRAM   | \
index 180ce057d7921fda1e5408cf7690abe8ba938586..9cf0654be10e19555fe74f2d1a055af45b0f57d3 100644 (file)
 #ifdef CONFIG_ETHER_ON_FCC
 # define CONFIG_COMMANDS       (((CONFIG_CMD_DFL & ~(CFG_CMD_KGDB))) | \
                                CFG_CMD_ASKENV  | \
-                               CFG_CMD_ECHO    | \
                                CFG_CMD_ELF     | \
                                CFG_CMD_I2C     | \
                                CFG_CMD_IMMAP   | \
 #else
 # define CONFIG_COMMANDS       (((CONFIG_CMD_DFL & ~(CFG_CMD_KGDB))) | \
                                CFG_CMD_ASKENV  | \
-                               CFG_CMD_ECHO    | \
                                CFG_CMD_ELF     | \
                                CFG_CMD_I2C     | \
                                CFG_CMD_IMMAP   | \
index d312b6559ad3cc2b6969fd7fec8ad9c846ff582e..e5d4397d2c74c9e4f71b26dcd2c327013dbd0c9a 100644 (file)
@@ -91,7 +91,6 @@ protect on ${u-boot_startaddr} ${u-boot_endaddr}"
                                                                | CFG_CMD_ENV | CFG_CMD_CONSOLE \
                                                                | CFG_CMD_LOADS | CFG_CMD_LOADB \
                                                                | CFG_CMD_IMI | CFG_CMD_CACHE \
-                                                               | CFG_CMD_RUN | CFG_CMD_ECHO \
                                                                | CFG_CMD_REGINFO | CFG_CMD_NET\
                                                                | CFG_CMD_DHCP | CFG_CMD_I2C \
                                                                | CFG_CMD_DATE)