aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros-2.6/files/arch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-19 10:24:16 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-19 10:24:16 +0000
commit6dd63759c3d2570fe92eaf54495993cfc9f05e39 (patch)
tree9aac10ec1a7e931bec2d1cae8e6241a13cb7e420 /target/linux/atheros-2.6/files/arch
parent69989994df9b67ff6131ce99f57df022e1d80725 (diff)
downloadupstream-6dd63759c3d2570fe92eaf54495993cfc9f05e39.tar.gz
upstream-6dd63759c3d2570fe92eaf54495993cfc9f05e39.tar.bz2
upstream-6dd63759c3d2570fe92eaf54495993cfc9f05e39.zip
Allow the redboot supplied command line to be append (#2089)
SVN-Revision: 8049
Diffstat (limited to 'target/linux/atheros-2.6/files/arch')
-rw-r--r--target/linux/atheros-2.6/files/arch/mips/atheros/prom.c4
1 files changed, 4 insertions, 0 deletions
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 489f309279..36d78b8109 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)