On 2026-07-12T00:33:05, Daniel Golle <[email protected]> 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 <[email protected]>
>
> boot/image-fit-sig.c | 73 +++++++++++++++++++++++++++++++---------------------
>  1 file changed, 44 insertions(+), 29 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to