binman: Support writing symbols into entries within an IFWI

The Intel IFWI (Integrated Firmware Image) is effectively a section with
other entries inside it. Support writing symbol information into entries
within it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2019-08-24 07:23:11 -06:00
parent 51f20726ca
commit ed9571d269

View file

@ -118,3 +118,8 @@ class Entry_intel_ifwi(Entry_blob):
entry._ifwi_subpart = fdt_util.GetString(node, 'ifwi-subpart')
entry._ifwi_entry_name = fdt_util.GetString(node, 'ifwi-entry')
self._ifwi_entries[entry._ifwi_subpart] = entry
def WriteSymbols(self, section):
"""Write symbol values into binary files for access at run time"""
for entry in self._ifwi_entries.values():
entry.WriteSymbols(self)