]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
add missing 'console' var to default mpc8349itx config
authorNikita V. Youshchenko <yoush@debian.org>
Wed, 23 May 2007 08:45:25 +0000 (12:45 +0400)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 1 Jun 2007 20:06:57 +0000 (15:06 -0500)
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
include/configs/MPC8349ITX.h

index 906339e9d8827b281d58620b4fcce25c3998dac3..1bdbcdc24f880028633ab80d5d10929d646a308e 100644 (file)
@@ -289,6 +289,7 @@ boards, we say we have two, but don't display a message if we find only one. */
 #define CFG_BAUDRATE_TABLE  \
        {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200}
 
+#define CONFIG_CONSOLE         ttyS0
 #define CONFIG_BAUDRATE                115200
 
 #define CFG_NS16550_COM1       (CFG_IMMR + 0x4500)
@@ -670,9 +671,10 @@ boards, we say we have two, but don't display a message if we find only one. */
        " ip=" MK_STR(CONFIG_IPADDR) ":" MK_STR(CONFIG_SERVERIP) ":"    \
                MK_STR(CONFIG_GATEWAYIP) ":" MK_STR(CONFIG_NETMASK) ":" \
                MK_STR(CONFIG_HOSTNAME) ":" MK_STR(CONFIG_NETDEV) ":off" \
-       " console=ttyS0," MK_STR(CONFIG_BAUDRATE)
+       " console=" MK_STR(CONFIG_CONSOLE) "," MK_STR(CONFIG_BAUDRATE)
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
+       "console=" MK_STR(CONFIG_CONSOLE) "\0"                          \
        "netdev=" MK_STR(CONFIG_NETDEV) "\0"                            \
        "uboot=" MK_STR(CONFIG_UBOOTPATH) "\0"                          \
        "tftpflash=tftpboot $loadaddr $uboot; "                         \