diff options
author | Thiemo Seufer <ths@networkno.de> | 2007-03-19 00:05:06 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-19 20:22:43 +0000 |
commit | 43e3c885d0e120a749ec7fe204aaec8f46c1d5b6 (patch) | |
tree | 25c4fd61216f84b60bd9c23df6878229419fd459 /arch/mips/mips-boards | |
parent | 119537c092638bf8a0672415024639353c773bb1 (diff) | |
download | op-kernel-dev-43e3c885d0e120a749ec7fe204aaec8f46c1d5b6.zip op-kernel-dev-43e3c885d0e120a749ec7fe204aaec8f46c1d5b6.tar.gz |
[MIPS] mips-boards: More liberal check for mips-board console
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>
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r-- | arch/mips/mips-boards/generic/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c index 1acdf09..88e9c2a 100644 --- a/arch/mips/mips-boards/generic/init.c +++ b/arch/mips/mips-boards/generic/init.c @@ -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') |