[MIPS] mips-boards: More liberal check for mips-board console
authorThiemo Seufer <ths@networkno.de>
Mon, 19 Mar 2007 00:05:06 +0000 (00:05 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 19 Mar 2007 20:22:43 +0000 (20:22 +0000)
Allows overriding the MALTA/ATLAS/etc. default console setting with
non-serial console devices.

Signed-Off-By: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/generic/init.c

index 1acdf091c25877246fccae76d988ab6a3320de83..88e9c2a7a2f9a4b86b3eaa10c62db17c9471cb1d 100644 (file)
@@ -145,7 +145,7 @@ static void __init console_config(void)
        char parity = '\0', bits = '\0', flow = '\0';
        char *s;
 
-       if ((strstr(prom_getcmdline(), "console=ttyS")) == NULL) {
+       if ((strstr(prom_getcmdline(), "console=")) == NULL) {
                s = prom_getenv("modetty0");
                if (s) {
                        while (*s >= '0' && *s <= '9')