It is easier to understand this file if reading the entries comes before obtaining the contents, since that is the order in which Binman proceeds. Move the function down a bit.
Signed-off-by: Simon Glass <s...@chromium.org> --- tools/binman/etype/cbfs.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) Applied to u-boot-dm/next, thanks!