aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-15 14:55:08 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-15 14:55:08 +0000
commita4d934c47b7b5266de52e8945791dad0ac29867b (patch)
tree5a230f6c3807cf62305fd5a50d617603d2dc67d1 /target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch
parent4cacc7208ce77118aca13669fdffa1b8a5766b22 (diff)
downloadupstream-a4d934c47b7b5266de52e8945791dad0ac29867b.tar.gz
upstream-a4d934c47b7b5266de52e8945791dad0ac29867b.tar.bz2
upstream-a4d934c47b7b5266de52e8945791dad0ac29867b.zip
Use 2.6.27 for au1000
SVN-Revision: 13220
Diffstat (limited to 'target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch')
-rw-r--r--target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch b/target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch
new file mode 100644
index 0000000000..a41ee6f21d
--- /dev/null
+++ b/target/linux/au1000/patches-2.6.27/001-mtx1_cmdline.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/au1000/mtx-1/init.c
++++ b/arch/mips/au1000/mtx-1/init.c
+@@ -54,7 +54,7 @@ void __init prom_init(void)
+ prom_argv = (char **) fw_arg1;
+ prom_envp = (char **) fw_arg2;
+
+- prom_init_cmdline();
++ strcpy(arcs_cmdline, CONFIG_CMDLINE);
+
+ memsize_str = prom_getenv("memsize");
+ if (!memsize_str)