binman: Use GetEntries() to obtain section contents
authorSimon Glass <sjg@chromium.org>
Tue, 18 Jul 2023 13:23:52 +0000 (07:23 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 20 Jul 2023 20:10:57 +0000 (14:10 -0600)
commitac8d7cf1d0f3eb8e742f8454ba4c2210dd088036
tree2a2262586f0c310b1b8f4e617c6e59c55f9a425c
parentc06c0643329bef80a283ccc2858150b310f4ee80
binman: Use GetEntries() to obtain section contents

Some section types don't have a simple _entries list. Use the GetEntries()
method in GetEntryContents() and other places to handle this.

This makes the behaviour more consistent.

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