diff options
author | Simon Glass <sjg@chromium.org> | 2018-07-17 13:25:49 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-08-01 16:30:48 -0600 |
commit | 1be70d20d8466c287cd1dc6f590171794ba67f07 (patch) | |
tree | a323c2b411d8f721403d99bb48c036d456419ae6 /tools/binman/bsection.py | |
parent | b8ef5b6bc871e12d036869172aa3599f5be7ee09 (diff) |
binman: Show the image position in the map
At present the map only shows the offset and size for each region. The
image position provides the actual position of each entry in the image,
regardless of the section hierarchy.
Add the image position to the map.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/bsection.py')
-rw-r--r-- | tools/binman/bsection.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/binman/bsection.py b/tools/binman/bsection.py index 70a6ec17760..a0bd1b6d34e 100644 --- a/tools/binman/bsection.py +++ b/tools/binman/bsection.py @@ -378,7 +378,8 @@ class Section(object): Args: fd: File to write the map to """ - Entry.WriteMapLine(fd, indent, self._name, self._offset, self._size) + Entry.WriteMapLine(fd, indent, self._name, self._offset, self._size, + self._image_pos) for entry in self._entries.values(): entry.WriteMap(fd, indent + 1) |