]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Split node-reading out from constructor in files
authorSimon Glass <sjg@chromium.org>
Tue, 6 Jul 2021 16:36:38 +0000 (10:36 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:35 +0000 (10:27 -0600)
commitedd4b6ea41075b34619e774dba3d232b12c1ea53
tree6bfc3cea1febfcc9d7c922a83c51f7be0d5a6185
parentc69d19c8f829d3320db5224f9f28d13cfb16049e
binman: Split node-reading out from constructor in files

The constructor should not read the node information. Move it to the
ReadNode() method instead. This allows this etype to be subclassed.

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