dtc: Remove -O dtbo support
PATCH 1/1 dtc: Remove -O dtbo support
This partially reverts 163f0469bf2e ("dtc: Allow overlays to have .dtbo extension").
I think accepting "dtbo" as --out-format is strange. This is not shown by --help, at least.
*.dtb and *.dtbo should have the same format, "dtb".
---
dtc.c | 2 -- 1 file changed, 2 deletions(-)
dtc.c +0 -2
@@ -359,8 +359,6 @@ int main(int argc, char *argv[])#endif }else if (streq (outform,"dtb" )) {dt_to_blob (outf, dti, outversion); - }else if (streq (outform,"dtbo" )) { -dt_to_blob (outf, dti, outversion); }else if (streq (outform,"asm" )) {dt_to_asm (outf, dti, outversion); }else if (streq (outform,"null" )) {
Signature · 1 line
2.27.0
A message that is not in the archive (sent off-list or not yet received): 20210311094956.924310-1-masahiroy-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
David Gibson
AppliedQuoted 9 lines · Masahiro Yamada
This partially reverts
163f0469bf2e("dtc: Allow overlays to have .dtbo extension").I think accepting "dtbo" as --out-format is strange. This is not shown by --help, at least.
*.dtb and *.dtbo should have the same format, "dtb".
Signed-off-by Masahiro Yamada <[email protected]>
Oops, yes. When reviewing 163f0469bf2e I missed the fact that it accepted -O dtbo as well changing the default based on file extension.
Applied.
Quoted 18 lines
---
dtc.c | 2 -- 1 file changed, 2 deletions(-)dtc.c +0
-2@@ -359,8 +359,6 @@ int main(int argc, char *argv[])#endif }else if (streq (outform,"dtb" )) {dt_to_blob (outf, dti, outversion); - }else if (streq (outform,"dtbo" )) { -dt_to_blob (outf, dti, outversion); }else if (streq (outform,"asm" )) {dt_to_asm (outf, dti, outversion); }else if (streq (outform,"null" )) {
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson