Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b60ccd57 authored by Pantelis Antoniou's avatar Pantelis Antoniou Committed by Ralf Baechle
Browse files

[MIPS] Alchemy: Console output fixup


    
This is needed to make console output appear with the new driver...
    
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f10d14dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -93,7 +93,7 @@ void __init plat_setup(void)


	argptr = prom_getcmdline();
	argptr = prom_getcmdline();


#ifdef CONFIG_SERIAL_AU1X00_CONSOLE
#if defined(CONFIG_SERIAL_AU1X00_CONSOLE) || defined(CONFIG_SERIAL_8250_CONSOLE)
	if ((argptr = strstr(argptr, "console=")) == NULL) {
	if ((argptr = strstr(argptr, "console=")) == NULL) {
		argptr = prom_getcmdline();
		argptr = prom_getcmdline();
		strcat(argptr, " console=ttyS0,115200");
		strcat(argptr, " console=ttyS0,115200");