[tools] fix crc calculation with the new padding (#5143)
[openwrt.git] / target / linux / sibyte / patches / 000-honuor_config_cmdline.patch
1 --- a/arch/mips/sibyte/cfe/setup.c
2 +++ b/arch/mips/sibyte/cfe/setup.c
3 @@ -293,7 +293,11 @@ void __init prom_init(void)
4 * It's OK for direct boot to not provide a
5 * command line
6 */
7 +#ifdef CONFIG_CMDLINE
8 + strlcpy(arcs_cmdline, CONFIG_CMDLINE, COMMAND_LINE_SIZE);
9 +#else
10 strcpy(arcs_cmdline, "root=/dev/ram0 ");
11 +#endif
12 } else {
13 /* The loader should have set the command line */
14 /* too early for panic to do any good */
This page took 0.054538 seconds and 5 git commands to generate.