summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.9/997-device_tree_cmdline.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-09-08 19:55:36 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-09-08 19:55:36 +0000
commit54cd991725079fdce550e86f2303ece870203386 (patch)
treeef26822511b5dfe4eba238e4a9f0665bc99201e7 /target/linux/generic/patches-3.9/997-device_tree_cmdline.patch
parenteea3a89a6a158dda4751802d952ddc07408c1b0a (diff)
downloadmtk-20170518-54cd991725079fdce550e86f2303ece870203386.zip
mtk-20170518-54cd991725079fdce550e86f2303ece870203386.tar.gz
mtk-20170518-54cd991725079fdce550e86f2303ece870203386.tar.bz2
kernel: drop 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42452
Diffstat (limited to 'target/linux/generic/patches-3.9/997-device_tree_cmdline.patch')
-rw-r--r--target/linux/generic/patches-3.9/997-device_tree_cmdline.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/generic/patches-3.9/997-device_tree_cmdline.patch b/target/linux/generic/patches-3.9/997-device_tree_cmdline.patch
deleted file mode 100644
index 8009a29..0000000
--- a/target/linux/generic/patches-3.9/997-device_tree_cmdline.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/drivers/of/fdt.c
-+++ b/drivers/of/fdt.c
-@@ -677,6 +677,9 @@ int __init early_init_dt_scan_chosen(uns
- p = of_get_flat_dt_prop(node, "bootargs", &l);
- if (p != NULL && l > 0)
- strlcpy(data, p, min((int)l, COMMAND_LINE_SIZE));
-+ p = of_get_flat_dt_prop(node, "bootargs-append", &l);
-+ if (p != NULL && l > 0)
-+ strlcat(data, p, min(strlen(data) + (int)l, COMMAND_LINE_SIZE));
-
- /*
- * CONFIG_CMDLINE is meant to be a default in case nothing else