Skip to content

Commit

Permalink
[MIPS] mips-boards: More liberal check for mips-board console
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thiemo Seufer authored and Ralf Baechle committed Mar 19, 2007
1 parent 119537c commit 43e3c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mips-boards/generic/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 43e3c88

Please sign in to comment.