]> git.sur5r.net Git - u-boot/commit
binman: Add a SetCalculatedProperties() method
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jul 2018 16:27:41 +0000 (10:27 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Jul 2018 15:11:00 +0000 (09:11 -0600)
commit078ab1a2f5a9901f5f9983163d4f98b8d94bfda0
tree469e20126f5566717b8a0cd35395b1c029e42139
parentecab89737a4eb58c043388b1ca1c0f1dfdaa3346
binman: Add a SetCalculatedProperties() method

Once binman has packed the image, the position and size of each entry is
known. It is then possible for binman to update the device tree with these
positions. Since placeholder values have been added, this does not affect
the size of the device tree and therefore the packing does not need to be
performed again.

Add a new SetCalculatedProperties method to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/README
tools/binman/bsection.py
tools/binman/cmdline.py
tools/binman/control.py
tools/binman/entry.py
tools/binman/etype/section.py
tools/binman/image.py