[PATCH v2 3/3] binman: collection: Set build_done on referenced entries
Simon Glass
sjg at chromium.org
Fri Apr 3 03:02:38 CEST 2026
On 2026-04-02T19:24:29, yan wang <yan.wang at softathome.com> wrote:
> binman: collection: Set build_done on referenced entries
>
> The collection etype uses phandles in the 'content' property to
> reference other entries. Mark each referenced entry with build_done
> to avoid rebuilding the same entry data multiple times.
>
> This is important for cases where rebuilding may change the data
> content, e.g. due to timestamps or random IVs in encryption.
>
> Refactor GetContentsByPhandle() to return both the entry object and
> its data.
>
> Signed-off-by: yan wang <yan.wang at softathome.com>
>
> tools/binman/etype/collection.py | 8 ++++++--
> tools/binman/etype/section.py | 5 +++--
> 2 files changed, 9 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list