]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Update CheckEntries() for compressed sections
authorSimon Glass <sjg@chromium.org>
Mon, 26 Oct 2020 23:40:23 +0000 (17:40 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:59 +0000 (14:42 -0600)
commit39a0ba44152b443d8a9585135cb47ad211723023
tree970fe3890bdfc2d2f07fb506690bde6c517f83e3
parentae7822972586a4ab4d61dc1dcd6d508512bbc495
binman: Update CheckEntries() for compressed sections

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 <sjg@chromium.org>
tools/binman/etype/section.py