summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-06-27 18:15:46 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-06-27 18:15:46 +0000
commit5553c4da8cf0c437c38e09951645e021ded81e5b (patch)
tree1cf345f5b156e010e6266eba19893ddee58fd237 /target
parent88dcf365256749ab80a3c2e584a2651540f238bf (diff)
downloadmtk-20170518-5553c4da8cf0c437c38e09951645e021ded81e5b.zip
mtk-20170518-5553c4da8cf0c437c38e09951645e021ded81e5b.tar.gz
mtk-20170518-5553c4da8cf0c437c38e09951645e021ded81e5b.tar.bz2
ignore the bootloader's commandline on orion
SVN-Revision: 11591
Diffstat (limited to 'target')
-rw-r--r--target/linux/orion/patches/010-ignore_atag_cmdline.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/orion/patches/010-ignore_atag_cmdline.patch b/target/linux/orion/patches/010-ignore_atag_cmdline.patch
new file mode 100644
index 0000000..45975fe
--- /dev/null
+++ b/target/linux/orion/patches/010-ignore_atag_cmdline.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/kernel/setup.c
++++ b/arch/arm/kernel/setup.c
+@@ -719,7 +719,7 @@
+
+ static int __init parse_tag_cmdline(const struct tag *tag)
+ {
+- strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
++// strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
+ return 0;
+ }
+