]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Drop CheckEntries()
authorSimon Glass <sjg@chromium.org>
Mon, 26 Oct 2020 23:40:22 +0000 (17:40 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:59 +0000 (14:42 -0600)
commitae7822972586a4ab4d61dc1dcd6d508512bbc495
tree02b00c1f2386ce2ea6ea66f40db4fa343f4d5351
parenta366d5fe755f4c03cad4b456bb9240bbbbd1cb74
binman: Drop CheckEntries()

This method introduces a separation between packing and checking that is
different for sections. In order to handle compression properly, we need
to be able to deal with a section's size being smaller than the
uncompressed size of its contents. It is easier to make this work if
everything happens in the Pack() method.

The only real user of CheckEntries() is entry_Section and it can call it
directly. Drop the call from 'control' and handle it locally.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/README
tools/binman/control.py
tools/binman/etype/section.py