aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.10/920-device_tree_cmdline.patch
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2022-09-20 12:01:48 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-10-01 02:47:56 +0200
commitd5bf46bbe8f425182ea07787ae5d92145715da1b (patch)
tree2400e91eaba3059f12e39574f0e5fb3a62bb351f /target/linux/generic/hack-5.10/920-device_tree_cmdline.patch
parent5d09118f8e60fa151e03916f255f5511e197af68 (diff)
downloadupstream-d5bf46bbe8f425182ea07787ae5d92145715da1b.tar.gz
upstream-d5bf46bbe8f425182ea07787ae5d92145715da1b.tar.bz2
upstream-d5bf46bbe8f425182ea07787ae5d92145715da1b.zip
generic: Convert incorrect generic/5.10 patches
OpenWRT's developer guide prefers having actual patches so they an be sent upstream more easily. However, in this case, Adding proper fields also allows for `git am` to properly function. Some of these patches are quite old, and lack much traceable history. This commit tries to rectify that, by digging in the history to find where and how it was first added. It is by no means perfect and also shows some patches that should have been long gone. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'target/linux/generic/hack-5.10/920-device_tree_cmdline.patch')
-rw-r--r--target/linux/generic/hack-5.10/920-device_tree_cmdline.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/generic/hack-5.10/920-device_tree_cmdline.patch b/target/linux/generic/hack-5.10/920-device_tree_cmdline.patch
index 27d4d7f1e5e..17d3f2ffd59 100644
--- a/target/linux/generic/hack-5.10/920-device_tree_cmdline.patch
+++ b/target/linux/generic/hack-5.10/920-device_tree_cmdline.patch
@@ -1,3 +1,19 @@
+From a9968d9cb8cb10030491fa05e24b00bd42f6d3a9 Mon Sep 17 00:00:00 2001
+From: John Crispin <john@openwrt.org>
+Date: Thu, 30 May 2013 16:00:42 +0000
+Subject: fdt: enable retrieving kernel args from bootloader
+
+This patch is a device tree enhancement that IMHO is worthy of mainline.
+It allows the bootloader's commandline to be preserved even when the
+device tree specifies one.
+
+Submitted-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
+
+SVN-Revision: 36780
+---
+ drivers/of/fdt.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -1055,6 +1055,9 @@ int __init early_init_dt_scan_chosen(uns