mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
binman: Read _multiple_data_files in the correct place
Move this to the ReadEntries() function where it belongs. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
ac8d7cf1d0
commit
f5ae32d794
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,6 @@ class Entry_mkimage(Entry):
|
|||
"""
|
||||
def __init__(self, section, etype, node):
|
||||
super().__init__(section, etype, node)
|
||||
self._multiple_data_files = fdt_util.GetBool(self._node, 'multiple-data-files')
|
||||
self._mkimage_entries = OrderedDict()
|
||||
self._imagename = None
|
||||
self._filename = fdt_util.GetString(self._node, 'filename')
|
||||
|
@ -129,6 +128,8 @@ class Entry_mkimage(Entry):
|
|||
|
||||
def ReadNode(self):
|
||||
super().ReadNode()
|
||||
self._multiple_data_files = fdt_util.GetBool(self._node,
|
||||
'multiple-data-files')
|
||||
self._args = fdt_util.GetArgs(self._node, 'args')
|
||||
self._data_to_imagename = fdt_util.GetBool(self._node,
|
||||
'data-to-imagename')
|
||||
|
|
Loading…
Reference in a new issue