binman: Support updating all device tree files
authorSimon Glass <sjg@chromium.org>
Fri, 14 Sep 2018 10:57:24 +0000 (04:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Sep 2018 17:09:01 +0000 (11:09 -0600)
commit6ed45ba0a831393ab6c5d3355384238d2b4f47da
treebed509d46fc12e537b381c813b4020030a68450c
parent93d174135ac44cbbe81c87ea564488309949e6d4
binman: Support updating all device tree files

Binman currently supports updating the main device tree with things like
the position of each entry. Extend this support to SPL and TPL as well,
since they may need (a subset of) this information.

Also adjust DTB output files to have a .out extension since this seems
clearer than having a .dtb extension with 'out' in the name somwhere.

Also add a few missing comments and update the DT setup code to use
ReadFile and WriteFile().

Signed-off-by: Simon Glass <sjg@chromium.org>
13 files changed:
tools/binman/README.entries
tools/binman/control.py
tools/binman/entry.py
tools/binman/etype/blob_dtb.py [new file with mode: 0644]
tools/binman/etype/section.py
tools/binman/etype/u_boot_dtb.py
tools/binman/etype/u_boot_dtb_with_ucode.py
tools/binman/etype/u_boot_spl_dtb.py
tools/binman/etype/u_boot_tpl_dtb.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/state.py
tools/binman/test/82_fdt_update_all.dts [new file with mode: 0644]