mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 08:26:40 +07:00
[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>
This commit is contained in:
parent
119537c092
commit
43e3c885d0
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user