X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7c724a52ac504760eeff25ebe1a018d19c6986ec..8677fb58f75727df6b814f49e42a5267ae3a453f:/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c?ds=sidebyside diff --git a/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c b/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c index 489f30927..36d78b810 100644 --- a/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c +++ b/target/linux/atheros-2.6/files/arch/mips/atheros/prom.c @@ -27,6 +27,7 @@ void __init prom_init(void) { + char **argv; mips_machgroup = MACH_GROUP_ATHEROS; mips_machtype = -1; @@ -34,6 +35,9 @@ void __init prom_init(void) DO_AR5312(ar5312_prom_init();) DO_AR5315(ar5315_prom_init();) + argv = (char **)fw_arg1; + /* RedBoot desired command line is argv[1] */ + strcat(arcs_cmdline, argv[1]); } void __init prom_free_prom_memory(void)