At present this function assumes that the size of a section is at least as large as its contents. With compression this is often not the case. Relax this constraint by using the uncompressed size, if available.
Signed-off-by: Simon Glass <[email protected]> --- (no changes since v1) tools/binman/etype/section.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Applied to u-boot-dm, thanks!

