upgrade ppc44x to 2.6.30.3, enable MSI and USB support, move some patches around
[openwrt.git] / target / linux / sibyte / patches / 100-honuor_config_cmdline.patch
1 The SiByte platform code doesn't honor the CONFIG_CMDLINE kernel
2 option. This patch fixes this issue.
3
4 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
5
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
10 * command line
11 */
12 +#ifdef CONFIG_CMDLINE
13 + strlcpy(arcs_cmdline, CONFIG_CMDLINE, COMMAND_LINE_SIZE);
14 +#else
15 strcpy(arcs_cmdline, "root=/dev/ram0 ");
16 +#endif
17 } else {
18 /* The loader should have set the command line */
19 /* too early for panic to do any good */
This page took 0.041331 seconds and 5 git commands to generate.