aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch
diff options
context:
space:
mode:
authorRobert Marko <robert.marko@sartura.hr>2021-10-19 20:27:37 +0200
committerPaul Spooren <mail@aparcar.org>2022-01-24 12:07:42 +0100
commitb8ef54f5da32a654b2f47a2466913faef3ff6bc4 (patch)
tree940f62e251fc423aa909924e7de81341562de0a8 /target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch
parent145d896e0e68cef80880700060169cc004a7b46e (diff)
downloadupstream-b8ef54f5da32a654b2f47a2466913faef3ff6bc4.tar.gz
upstream-b8ef54f5da32a654b2f47a2466913faef3ff6bc4.tar.bz2
upstream-b8ef54f5da32a654b2f47a2466913faef3ff6bc4.zip
ipq40xx: drop 5.4 kernel
Since 5.10 is now default, no point in keeping 5.4 around. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Diffstat (limited to 'target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch')
-rw-r--r--target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch b/target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch
deleted file mode 100644
index 3cc032fdd2..0000000000
--- a/target/linux/ipq40xx/patches-5.4/997-device_tree_cmdline.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/drivers/of/fdt.c
-+++ b/drivers/of/fdt.c
-@@ -1059,6 +1059,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(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