This appears in two places in the code. Use a shared function instead. Signed-off-by: Simon Glass <s...@chromium.org> ---
tools/binman/etype/fit.py | 3 +-- tools/binman/etype/section.py | 13 ++++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) Applied to u-boot-dm, thanks!