summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPantelis Antoniou <pantelis.antoniou@gmail.com>2005-11-13 23:27:46 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-11-17 16:23:50 +0000
commitb60ccd575c2d96041b856aad19a7d3af168d79b9 (patch)
tree4b5cd16ca45fc8f959cc32d9cd4a3ac984d54f74
parentf10d14ddec8daf11a298f05ab3d644887df39830 (diff)
downloadop-kernel-dev-b60ccd575c2d96041b856aad19a7d3af168d79b9.zip
op-kernel-dev-b60ccd575c2d96041b856aad19a7d3af168d79b9.tar.gz
[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>
-rw-r--r--arch/mips/au1000/common/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/au1000/common/setup.c b/arch/mips/au1000/common/setup.c
index 4f21f42..08c8c85 100644
--- a/arch/mips/au1000/common/setup.c
+++ b/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");
OpenPOWER on IntegriCloud