Re: [U-Boot] [PATCH 31/34] binman: Support writing symbols into entries within an IFWI

2019-09-26 Thread sjg
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 
---

 tools/binman/etype/intel_ifwi.py | 5 +
 1 file changed, 5 insertions(+)

Applied to u-boot-dm, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 31/34] binman: Support writing symbols into entries within an IFWI

2019-08-24 Thread Simon Glass
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 
---

 tools/binman/etype/intel_ifwi.py | 5 +
 1 file changed, 5 insertions(+)

diff --git a/tools/binman/etype/intel_ifwi.py b/tools/binman/etype/intel_ifwi.py
index 17792defe9..36aadc210c 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)
-- 
2.23.0.187.g17f5b7556c-goog

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot