[PATCH 1/3] boot: fit: factor out node-path collection in fit_config_add_hash()

Simon Glass sjg at chromium.org
Tue Jul 14 14:17:00 CEST 2026


On 2026-07-12T00:33:05, Daniel Golle <daniel at makrotopia.org> wrote:
> boot: fit: factor out node-path collection in fit_config_add_hash()
>
> fit_config_add_hash() repeats the same sequence to append a node's path
> to the hashed-node list three times: for the image node, for each hash
> subnode and for the cipher subnode. Extract it into a helper,
> fit_config_add_node(), with no functional change.
>
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>
>
> boot/image-fit-sig.c | 73 +++++++++++++++++++++++++++++++---------------------
>  1 file changed, 44 insertions(+), 29 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list