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)
commit0b65769c2e31ae7b3ee6015b1f7602e4e1ac56a6
tree02b00c1f2386ce2ea6ea66f40db4fa343f4d5351
parent93f3c2ea1463f5ad4fff9ada8675078d326db347
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