[U-Boot] [PATCH v2 28/29] binman: Add a SetCalculatedProperties() method

Simon Glass sjg at chromium.org
Mon Jul 9 19:53:32 UTC 2018


On 6 July 2018 at 10:27, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> Changes in v2: None
>
>  tools/binman/README           | 29 ++++++++++++++++++++---------
>  tools/binman/bsection.py      |  8 ++++++++
>  tools/binman/cmdline.py       |  2 ++
>  tools/binman/control.py       |  4 ++++
>  tools/binman/entry.py         | 11 +++++++++++
>  tools/binman/etype/section.py |  8 ++++++++
>  tools/binman/image.py         | 14 ++++++++++++++
>  7 files changed, 67 insertions(+), 9 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list