[MIPS] Alchemy: Console output fixup
authorPantelis Antoniou <pantelis.antoniou@gmail.com>
Sun, 13 Nov 2005 21:27:46 +0000 (23:27 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Nov 2005 16:23:50 +0000 (16:23 +0000)
This is needed to make console output appear with the new driver...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/setup.c

index 4f21f42..08c8c85 100644 (file)
@@ -93,7 +93,7 @@ void __init plat_setup(void)
 
        argptr = prom_getcmdline();
 
-#ifdef CONFIG_SERIAL_AU1X00_CONSOLE
+#if defined(CONFIG_SERIAL_AU1X00_CONSOLE) || defined(CONFIG_SERIAL_8250_CONSOLE)
        if ((argptr = strstr(argptr, "console=")) == NULL) {
                argptr = prom_getcmdline();
                strcat(argptr, " console=ttyS0,115200");