summaryrefslogtreecommitdiff
path: root/tools/binman/entry.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-18 07:24:08 -0600
committerSimon Glass <sjg@chromium.org>2023-07-20 14:10:58 -0600
commit23b96e920b95428c55c0659ab4e1576c83a4b366 (patch)
tree3f238fb45ed13905bb62a9cb89c138807b03773a /tools/binman/entry.py
parent696f2b73d6ccffe23d5c295308817ca8d2bebc92 (diff)
binman: Support writing symbols inside a mkimage image
Add support for writing symbols and determining the assumed position of binaries inside a mkimage image. This is useful as an example for other entry types which might want to do the same thing. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/entry.py')
-rw-r--r--tools/binman/entry.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index 0d4cb94f700..42e0b7b9145 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -1314,8 +1314,6 @@ features to produce new behaviours.
"""
data = b''
for entry in entries:
- # First get the input data and put it in a file
- entry.ObtainContents(fake_size=fake_size)
data += entry.GetData()
uniq = self.GetUniqueName()
fname = tools.get_output_filename(f'{prefix}.{uniq}')