binman: Adjust mkimage etype node reading
authorSimon Glass <sjg@chromium.org>
Sat, 13 Aug 2022 17:40:45 +0000 (11:40 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 21 Aug 2022 00:07:32 +0000 (18:07 -0600)
commit1c65a54d6d683e9cc90c898f2e3d96210dcbeb7f
tree44b332a123d4ec42334b38bad71f59352595f30b
parentcdadadab7df4a938c54131b40828e7b4dfd5ef2f
binman: Adjust mkimage etype node reading

Since this is implemented as a section, it should really be split into
several functions, one to read the node and one to read the entries. Do
this so that it matches how Entry_section works.

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