aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/patches-4.14/997-device_tree_cmdline.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-02-29 16:36:21 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2020-03-12 09:28:23 +0100
commit988546cd136aab66493ab5564601b25164fb6ecb (patch)
tree57f6a9601632ece80e355423c2fb8f5d0874e7c6 /target/linux/ipq40xx/patches-4.14/997-device_tree_cmdline.patch
parent8e6a8a08d2a3f23ff8accb065818808209eeceaa (diff)
downloadupstream-988546cd136aab66493ab5564601b25164fb6ecb.tar.gz
upstream-988546cd136aab66493ab5564601b25164fb6ecb.tar.bz2
upstream-988546cd136aab66493ab5564601b25164fb6ecb.zip
ipq40xx: Remove kernel 4.14 support
This target was switched to kernel 4.19 more than 6 months ago in commit f342ffd300da ("treewide: kernel: bump some targets to 4.19") and now with kernel 5.4 support being added it gets harder to support kernel 4.14 in addition to kernel 4.19 and 5.4. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/ipq40xx/patches-4.14/997-device_tree_cmdline.patch')
-rw-r--r--target/linux/ipq40xx/patches-4.14/997-device_tree_cmdline.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/ipq40xx/patches-4.14/997-device_tree_cmdline.patch b/target/linux/ipq40xx/patches-4.14/997-device_tree_cmdline.patch
deleted file mode 100644
index 8b5e64a2d4..0000000000
--- a/target/linux/ipq40xx/patches-4.14/997-device_tree_cmdline.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/drivers/of/fdt.c
-+++ b/drivers/of/fdt.c
-@@ -1130,6 +1130,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_t(int, strlen(data) + (int)l, COMMAND_LINE_SIZE));
-
- /*
- * CONFIG_CMDLINE is meant to be a default in case nothing else