]> git.sur5r.net Git - u-boot/commitdiff
Add netconsole and some more commands to RPXlite_DW board
authorWolfgang Denk <wd@pollux.denx.de>
Sun, 12 Mar 2006 15:57:35 +0000 (16:57 +0100)
committerWolfgang Denk <wd@pollux.denx.de>
Sun, 12 Mar 2006 15:57:35 +0000 (16:57 +0100)
Patch by Sam Song, 19 Jun 2005

CHANGELOG
include/configs/RPXlite_DW.h

index 0b6da7bbd41a70b617d5c8f48486b641a73c5521..704bb0548e71f34b66b81849d08a658670346d61 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Add netconsole and some more commands to RPXlite_DW board
+  Patch by Sam Song, 19 Jun 2005
+
 * Fix bad declaration on pci_cfgfunc_nothing
   Patch by Sam Song, 19 Jun 2005
 
index 8cd7df1ecff4c86a2d6dfcaf8b5d12466a9c5d88..5d17712f181cf3af5f4c91035258bb47477dff12 100644 (file)
@@ -45,7 +45,7 @@
  */
 
 /* #define DEBUG       1 */
-/* #ifdef DEPLOYMENT   1 */
+/* #define DEPLOYMENT  1 */
 
 #undef CONFIG_MPC860
 #define CONFIG_MPC823          1       /* This is a MPC823e CPU. */
 
 #define CONFIG_BOOTP_MASK      (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
 
+#if 1          /* Enable this staff could make image enlarge about 25KB. Mask it if you
+                  don't want the advanced function */
+
+#ifdef  CONFIG_SPLASH_SCREEN
+#define CONFIG_COMMANDS       ( CONFIG_CMD_DFL  | \
+                               CFG_CMD_ASKENV  | \
+                               CFG_CMD_BMP     | \
+                               CFG_CMD_JFFS2   | \
+                               CFG_CMD_PING    | \
+                               CFG_CMD_ELF     | \
+                               CFG_CMD_REGINFO | \
+                               CFG_CMD_DHCP    )
+#else
+#define CONFIG_COMMANDS       ( CONFIG_CMD_DFL  | \
+                               CFG_CMD_ASKENV  | \
+                               CFG_CMD_JFFS2   | \
+                               CFG_CMD_PING    | \
+                               CFG_CMD_ELF     | \
+                               CFG_CMD_REGINFO | \
+                               CFG_CMD_DHCP    )
+#endif  /* CONFIG_SPLASH_SCREEN */
+
+/* test-only */
+#define CFG_JFFS2_FIRST_BANK    0           /* use for JFFS2 */
+#define CFG_JFFS2_NUM_BANKS     1           /* ! second bank contains U-Boot */
+
+#define CONFIG_NETCONSOLE
+
+#endif  /* 1 */
+
 /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
 #include <cmd_confdefs.h>
 
 #define CONFIG_SERVERIP 172.16.115.6
 #define CONFIG_ROOTPATH /workspace/myfilesystem/target/
 #define CONFIG_BOOTFILE uImage.rpxusb
+#define CONFIG_HOSTNAME LITE_H1_DW
 
 #endif /* __CONFIG_H */