]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit80d2ff8c7b6cfc7312ebb16b6c59fdab235638c6
treebed509d46fc12e537b381c813b4020030a68450c
parent1d7037973568e6939ffcc7f37e6f111d8196f73d
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]