From: Thiemo Seufer Date: Mon, 19 Mar 2007 00:05:06 +0000 (+0000) Subject: [MIPS] mips-boards: More liberal check for mips-board console X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43e3c885d0e120a749ec7fe204aaec8f46c1d5b6;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c index 1acdf091c258..88e9c2a7a2f9 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')