summaryrefslogtreecommitdiff
path: root/target/linux/patches/5.15.89/dtc-noyaml.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-01-19 06:01:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-01-19 06:02:03 +0100
commit5ee29b88a01fda7482280f5bd370d491f56a8093 (patch)
tree5cdbcd2772e4524cd5a4e9bd2b85c74f5bb3106e /target/linux/patches/5.15.89/dtc-noyaml.patch
parent1b343aa599839e310818343b097714998d84efc4 (diff)
linux: update to 5.15.89, make it default
Diffstat (limited to 'target/linux/patches/5.15.89/dtc-noyaml.patch')
-rw-r--r--target/linux/patches/5.15.89/dtc-noyaml.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/patches/5.15.89/dtc-noyaml.patch b/target/linux/patches/5.15.89/dtc-noyaml.patch
new file mode 100644
index 000000000..759bb01f7
--- /dev/null
+++ b/target/linux/patches/5.15.89/dtc-noyaml.patch
@@ -0,0 +1,16 @@
+diff -Nur linux-5.4.53.orig/scripts/dtc/dtc.c linux-5.4.53/scripts/dtc/dtc.c
+--- linux-5.4.53.orig/scripts/dtc/dtc.c 2020-07-22 09:33:18.000000000 +0200
++++ linux-5.4.53/scripts/dtc/dtc.c 2020-07-28 14:20:10.000000000 +0200
+@@ -349,12 +349,6 @@
+
+ if (streq(outform, "dts")) {
+ dt_to_source(outf, dti);
+-#ifndef NO_YAML
+- } else if (streq(outform, "yaml")) {
+- if (!streq(inform, "dts"))
+- die("YAML output format requires dts input format\n");
+- dt_to_yaml(outf, dti);
+-#endif
+ } else if (streq(outform, "dtb")) {
+ dt_to_blob(outf, dti, outversion);
+ } else if (streq(outform, "asm")) {