At present sorting and expanding entries are side-effects of the CheckEntries() function. This is a bit confusing, as 'checking' would not normally involve making changes.
Move these steps into the Pack() function instead. Signed-off-by: Simon Glass <s...@chromium.org> --- (no changes since v1) tools/binman/etype/section.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) Applied to u-boot-dm, thanks!