Restore boot/bootd and echo commands
authorPiotr Dymacz <pepe2k@gmail.com>
Wed, 19 Mar 2014 13:39:51 +0000 (14:39 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Wed, 19 Mar 2014 13:39:51 +0000 (14:39 +0100)
u-boot/include/configs/ap121.h
u-boot/include/configs/db12x.h

index 577485dc16eb5308cc80241389ad4459fa7e51f7..601d6cad3e94811b47356f00e0b4b40f88757384 100755 (executable)
  * Available commands
  */
 #if defined(CONFIG_FOR_DLINK_DIR505_A1)
-       #define CONFIG_COMMANDS (CFG_CMD_MEMORY | CFG_CMD_DHCP | CFG_CMD_PING | CFG_CMD_FLASH | CFG_CMD_NET | CFG_CMD_RUN | CFG_CMD_DATE | CFG_CMD_IMI | CFG_CMD_SNTP )
+
+       #define CONFIG_COMMANDS (CFG_CMD_MEMORY | \
+                                                        CFG_CMD_DHCP   | \
+                                                        CFG_CMD_PING   | \
+                                                        CFG_CMD_FLASH  | \
+                                                        CFG_CMD_NET    | \
+                                                        CFG_CMD_RUN    | \
+                                                        CFG_CMD_DATE   | \
+                                                        CFG_CMD_SNTP   | \
+                                                        CFG_CMD_ECHO   | \
+                                                        CFG_CMD_BOOTD  | \
+                                                        CFG_CMD_IMI)
+
 #elif defined(CONFIG_FOR_8DEVICES_CARAMBOLA2) || \
       defined(CONFIG_FOR_DRAGINO_V2)
-       #define CONFIG_COMMANDS (CFG_CMD_MEMORY | CFG_CMD_DHCP | CFG_CMD_PING | CFG_CMD_ENV | CFG_CMD_FLASH | CFG_CMD_NET | CFG_CMD_RUN | CFG_CMD_DATE | CFG_CMD_IMI | CFG_CMD_SNTP)
+
+       #define CONFIG_COMMANDS (CFG_CMD_MEMORY | \
+                                                        CFG_CMD_DHCP   | \
+                                                        CFG_CMD_PING   | \
+                                                        CFG_CMD_FLASH  | \
+                                                        CFG_CMD_NET    | \
+                                                        CFG_CMD_RUN    | \
+                                                        CFG_CMD_DATE   | \
+                                                        CFG_CMD_SNTP   | \
+                                                        CFG_CMD_ECHO   | \
+                                                        CFG_CMD_BOOTD  | \
+                                                        CFG_CMD_IMI    | \
+                                                        CFG_CMD_ENV)
+
 #else
-       #define CONFIG_COMMANDS (CFG_CMD_MEMORY | CFG_CMD_DHCP | CFG_CMD_PING | CFG_CMD_FLASH | CFG_CMD_NET | CFG_CMD_RUN | CFG_CMD_DATE | CFG_CMD_SNTP )
+
+       #define CONFIG_COMMANDS (CFG_CMD_MEMORY | \
+                                                        CFG_CMD_DHCP   | \
+                                                        CFG_CMD_PING   | \
+                                                        CFG_CMD_FLASH  | \
+                                                        CFG_CMD_NET    | \
+                                                        CFG_CMD_RUN    | \
+                                                        CFG_CMD_DATE   | \
+                                                        CFG_CMD_SNTP   | \
+                                                        CFG_CMD_ECHO   | \
+                                                        CFG_CMD_BOOTD)
+
 #endif
 
 // Enable NetConsole and custom NetConsole port
index ceae8d59aaa344d4c3944016b1d7bb717fc23458..0466052b9714013cb999d8dfa50f4485cca458c3 100755 (executable)
 /*\r
  * Available commands\r
  */\r
-#define CONFIG_COMMANDS (CFG_CMD_MEMORY | CFG_CMD_DHCP | CFG_CMD_PING | CFG_CMD_FLASH | CFG_CMD_NET | CFG_CMD_RUN | CFG_CMD_DATE | CFG_CMD_SNTP )\r
+#define CONFIG_COMMANDS (CFG_CMD_MEMORY | \\r
+                                                CFG_CMD_DHCP   | \\r
+                                                CFG_CMD_PING   | \\r
+                                                CFG_CMD_FLASH  | \\r
+                                                CFG_CMD_NET    | \\r
+                                                CFG_CMD_RUN    | \\r
+                                                CFG_CMD_DATE   | \\r
+                                                CFG_CMD_SNTP   | \\r
+                                                CFG_CMD_ECHO   | \\r
+                                                CFG_CMD_BOOTD)\r
 \r
 // Enable NetConsole and custom NetConsole port\r
 #define CONFIG_NETCONSOLE\r