Update for MCC200 / PRS200 boards:
authorWolfgang Denk <wd@pollux.denx.de>
Thu, 24 Aug 2006 23:38:04 +0000 (01:38 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Thu, 24 Aug 2006 23:38:04 +0000 (01:38 +0200)
- auto-adjust console device for Linux.
- fix typos.

CHANGELOG
Makefile
include/configs/mcc200.h

index b6dc067..af180ee 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,10 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Update for MCC200 / PRS200 boards:
+  - auto-adjust console device for Linux.
+  - fix typos.
+
 * Add a fix for a buggy USB device on the FO300 board.
 
 * Updates for MCC200 / PRS200 boards:
index 7542ab4..9bf7c49 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -327,6 +327,8 @@ mcc200_SDRAM_config \
 mcc200_highboot_config \
 mcc200_COM12_config    \
 mcc200_COM12_SDRAM_config      \
+mcc200_COM12_highboot_config   \
+mcc200_COM12_highboot_SDRAM_config     \
 mcc200_highboot_SDRAM_config   \
 prs200_config  \
 prs200_DDR_config      \
index aead49a..df3d68e 100644 (file)
 
 #ifdef CONFIG_PRS200
 # define CFG__BOARDNAME "prs200"
+# define LINUX_CONSOLE  "ttyS0"
 #else
 # define CFG__BOARDNAME "mcc200"
+# define LINUX_CONSOLE  "ttyEU7"
 #endif
 
 #define CONFIG_EXTRA_ENV_SETTINGS                                      \
        "addip=setenv bootargs ${bootargs} "                            \
                "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"      \
                ":${hostname}:${netdev}:off panic=1\0"                  \
-       "addcons=etenv bootargs ${bootargs} "                           \
+       "addcons=setenv bootargs ${bootargs} "                          \
                "console=${console},${baudrate}\0"                      \
        "flash_nfs=run nfsargs addip addcons;"                          \
                "bootm ${kernel_addr}\0"                                \
                "bootm ${kernel_addr} ${ramdisk_addr}\0"                \
        "net_nfs=tftp 200000 ${bootfile};"                              \
                "run nfsargs addip addcons;bootm\0"                     \
-       "console=ttyS0\0"                                               \
+       "console=" MK_STR(LINUX_CONSOLE) "\0"                           \
        "rootpath=/opt/eldk/ppc_6xx\0"                                  \
        "bootfile=/tftpboot/" CFG__BOARDNAME "/uImage\0"                \
        "load=tftp 200000 /tftpboot/" CFG__BOARDNAME "/u-boot.bin\0"    \