aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000/patches/012-mtx1_cmdline.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-06 16:27:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-06 16:27:37 +0000
commit56231056ea784f1cec6450f649b1adaed1f56366 (patch)
tree7b130d72d854cde2bcd3af8b11bd0f7be3dbff6a /target/linux/au1000/patches/012-mtx1_cmdline.patch
parente1184aaa1a7a5e5eeef8e072bf0ea98c291be22a (diff)
downloadupstream-56231056ea784f1cec6450f649b1adaed1f56366.tar.gz
upstream-56231056ea784f1cec6450f649b1adaed1f56366.tar.bz2
upstream-56231056ea784f1cec6450f649b1adaed1f56366.zip
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
Diffstat (limited to 'target/linux/au1000/patches/012-mtx1_cmdline.patch')
-rw-r--r--target/linux/au1000/patches/012-mtx1_cmdline.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/au1000/patches/012-mtx1_cmdline.patch b/target/linux/au1000/patches/012-mtx1_cmdline.patch
new file mode 100644
index 0000000000..8f078428c4
--- /dev/null
+++ b/target/linux/au1000/patches/012-mtx1_cmdline.patch
@@ -0,0 +1,19 @@
+--- linux-2.6.19.2/arch/mips/au1000/mtx-1/init.c.old 2007-04-06 15:01:13.503777992 +0200
++++ linux-2.6.19.2/arch/mips/au1000/mtx-1/init.c 2007-04-06 15:01:36.296313000 +0200
+@@ -39,7 +39,6 @@
+
+ int prom_argc;
+ char **prom_argv, **prom_envp;
+-extern void __init prom_init_cmdline(void);
+ extern char *prom_getenv(char *envname);
+
+ const char *get_system_type(void)
+@@ -59,7 +58,7 @@
+ mips_machgroup = MACH_GROUP_ALCHEMY;
+ mips_machtype = MACH_MTX1; /* set the platform # */
+
+- prom_init_cmdline();
++ strcpy(arcs_cmdline, CONFIG_CMDLINE);
+
+ memsize_str = prom_getenv("memsize");
+ if (!memsize_str)