diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2022-01-21 01:56:47 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-01-21 01:56:47 +0100 |
commit | 2c92b649b06dd68eebf22392d7307bbb34f9c8d1 (patch) | |
tree | 20f97145a153aa2f62b6b30e39462a638f6627d0 /target/linux/patches/5.10.93/dtc-noyaml.patch | |
parent | 43d14af9b5ab6bf039dd3c40264dbb5a931be76f (diff) |
linux: update to 5.10.93
Diffstat (limited to 'target/linux/patches/5.10.93/dtc-noyaml.patch')
-rw-r--r-- | target/linux/patches/5.10.93/dtc-noyaml.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/patches/5.10.93/dtc-noyaml.patch b/target/linux/patches/5.10.93/dtc-noyaml.patch new file mode 100644 index 000000000..759bb01f7 --- /dev/null +++ b/target/linux/patches/5.10.93/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")) { |