mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:01:09 +02:00
Allow the redboot supplied command line to be append (#2089)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8049 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7c724a52ac
commit
8677fb58f7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user