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

Commit 2f7055c5 authored by Thiemo Seufer's avatar Thiemo Seufer Committed by Ralf Baechle
Browse files

[MIPS] MIPSsim: Fix booting from NFS root



MIPSsim probably doesn't have any sort of environment, but writing
a zero in it kills even the compiled in command line. This prevents
booting via NFS root.

Signed-Off-By: default avatarThiemo Seufer <ths@networkno.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 0e6799ed
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -28,8 +28,5 @@ char * __init prom_getcmdline(void)

void  __init prom_init_cmdline(void)
{
	char *cp;
	cp = arcs_cmdline;
	/* Get boot line from environment? */
	*cp = '\0';
	/* XXX: Get boot line from environment? */
}