[PATCH 4/7] binman: Drop algo check in CheckSetHashValue()

2025-03-04 Thread Simon Glass
The CheckAddHashValue() function is always called before this one, so the algorithm check is never used. Replace it with an assert to avoid a coverage error. Signed-off-by: Simon Glass --- tools/binman/state.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/binman/s

[PATCH 4/7] binman: Drop algo check in CheckSetHashValue()

2025-02-25 Thread Simon Glass
The CheckAddHashValue() function is always called before this one, so the algorithm check is never used. Replace it with an assert to avoid a coverage error. Signed-off-by: Simon Glass --- tools/binman/state.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/binman/s