瀏覽代碼

[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 19 年之前
父節點
當前提交
b60ccd575c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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");