diff options
author | Thiemo Seufer <ths@networkno.de> | 2007-03-19 00:05:06 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-19 20:22:43 (GMT) |
commit | 43e3c885d0e120a749ec7fe204aaec8f46c1d5b6 (patch) | |
tree | 25c4fd61216f84b60bd9c23df6878229419fd459 | |
parent | 119537c092638bf8a0672415024639353c773bb1 (diff) | |
download | linux-fsl-qoriq-43e3c885d0e120a749ec7fe204aaec8f46c1d5b6.tar.xz |
[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>
-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') |