[PATCH v7 2/3] binman: collection: Set build_done on referenced entries
Simon Glass
sjg at chromium.org
Sat Apr 18 20:15:21 CEST 2026
On 2026-04-17T08:30:47, 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 | 9 +++++++--
> tools/binman/etype/section.py | 5 +++--
> 2 files changed, 10 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list