summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-08-25 01:38:04 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-08-25 01:38:04 +0200
commit113f64e09ac4905ddc330181c8761a4b29e82394 (patch)
tree86958dba6ae2aaa5714ffaeb6119b348dd38be1f /include
parent15f29f06ed207ac651d7d871403d1944a6960b89 (diff)
downloadu-boot-imx-113f64e09ac4905ddc330181c8761a4b29e82394.zip
u-boot-imx-113f64e09ac4905ddc330181c8761a4b29e82394.tar.gz
u-boot-imx-113f64e09ac4905ddc330181c8761a4b29e82394.tar.bz2
Update for MCC200 / PRS200 boards:
- auto-adjust console device for Linux. - fix typos.
Diffstat (limited to 'include')
-rw-r--r--include/configs/mcc200.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/mcc200.h b/include/configs/mcc200.h
index aead49a..df3d68e 100644
--- a/include/configs/mcc200.h
+++ b/include/configs/mcc200.h
@@ -120,8 +120,10 @@
#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 \
@@ -133,7 +135,7 @@
"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" \
@@ -141,7 +143,7 @@
"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" \