binman: Call CheckSize() from the section's Pack() method
authorSimon Glass <sjg@chromium.org>
Mon, 26 Oct 2020 23:40:21 +0000 (17:40 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:59 +0000 (14:42 -0600)
commit93f3c2ea1463f5ad4fff9ada8675078d326db347
tree2bcdb8619fba56b2321cce6d821cc7e022af500f
parent601b69aa8a56168ff25988bbf9cd2d457f13861d
binman: Call CheckSize() from the section's Pack() method

At present CheckSize() is called from the function that packs the entries.
Move it up to the main Pack() function so that _PackEntries() can just
do the packing.

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