Explorar o código

[MIPS] Alchemy: Console output fixup

This is needed to make console output appear with the new driver...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Pantelis Antoniou %!s(int64=20) %!d(string=hai) anos
pai
achega
b60ccd575c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/mips/au1000/common/setup.c

+ 1 - 1
arch/mips/au1000/common/setup.c

@@ -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");