1 The SiByte platform code doesn't honor the CONFIG_CMDLINE kernel
2 option. This patch fixes this issue.
4 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
6 --- a/arch/mips/sibyte/common/cfe.c
7 +++ b/arch/mips/sibyte/common/cfe.c
8 @@ -293,7 +293,11 @@ void __init prom_init(void)
9 * It's OK for direct boot to not provide a
12 +#ifdef CONFIG_CMDLINE
13 + strlcpy(arcs_cmdline, CONFIG_CMDLINE, COMMAND_LINE_SIZE);
15 strcpy(arcs_cmdline, "root=/dev/ram0 ");
18 /* The loader should have set the command line */
19 /* too early for panic to do any good */