binman: Rename ExpandEntries to gen_entries

Leave the 'expand' term for use by entry types which have an expanded
version of themselves. Rename this method to indicate that it generates
subentries.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
Simon Glass 2022-03-05 20:19:00 -07:00
parent 80a66ae646
commit c9ee33ac97
5 changed files with 8 additions and 8 deletions

View file

@ -286,8 +286,8 @@ class Entry(object):
"""
return {}
def ExpandEntries(self):
"""Expand out entries which produce other entries
def gen_entries(self):
"""Allow entries to generate other entries
Some entries generate subnodes automatically, from which sub-entries
are then created. This method allows those to be added to the binman