1 --- a/arch/mips/lantiq/prom.c
2 +++ b/arch/mips/lantiq/prom.c
3 @@ -39,6 +39,34 @@ void prom_free_prom_memory(void)
7 +#ifdef CONFIG_IMAGE_CMDLINE_HACK
8 +extern char __image_cmdline[];
11 +prom_init_image_cmdline(void)
13 + char *p = __image_cmdline;
25 + strlcpy(arcs_cmdline, p, sizeof(arcs_cmdline));
27 + strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline));
28 + strlcat(arcs_cmdline, p, sizeof(arcs_cmdline));
32 +static void __init prom_init_image_cmdline(void) { return; }
35 static void __init prom_init_cmdline(void)
38 @@ -53,6 +81,7 @@ static void __init prom_init_cmdline(voi
39 strlcat(arcs_cmdline, " ", sizeof(arcs_cmdline));
42 + prom_init_image_cmdline();
45 void __init prom_init(void)