aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-24 07:23:11 -0600
committerSimon Glass <sjg@chromium.org>2019-10-15 08:40:02 -0600
commited9571d269e814975c0626f92e6f322343178edf (patch)
tree583bddd2114a0c5c879412f39896078ccafadc72 /tools
parent51f20726ca0e49663b018daa8b42150dd3c58748 (diff)
downloadu-boot-ed9571d269e814975c0626f92e6f322343178edf.zip
u-boot-ed9571d269e814975c0626f92e6f322343178edf.tar.gz
u-boot-ed9571d269e814975c0626f92e6f322343178edf.tar.bz2
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/etype/intel_ifwi.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/binman/etype/intel_ifwi.py b/tools/binman/etype/intel_ifwi.py
index 17792de..36aadc2 100644
--- a/tools/binman/etype/intel_ifwi.py
+++ b/tools/binman/etype/intel_ifwi.py
@@ -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)