diff options
author | Simon Glass <sjg@chromium.org> | 2018-06-01 18:38:20 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-06-07 22:25:08 +0300 |
commit | 3b0c3821d6401106cc873a6c27a8ee31a8d466a4 (patch) | |
tree | 6cbc5ada5ea4b901002c756635b077767c27268c /tools/binman/control.py | |
parent | 7ae5f315b34454d1a993e7e96e94d26da6e28e6c (diff) | |
download | u-boot-3b0c3821d6401106cc873a6c27a8ee31a8d466a4.tar.xz |
binman: Add support for outputing a map file
It is useful to be able to see a list of regions in each image produced by
binman. Add a -m option to output this information in a '.map' file
alongside the image file.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r-- | tools/binman/control.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py index bc8ed8e37a..9243472906 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -112,6 +112,8 @@ def Binman(options, args): image.ProcessEntryContents() image.WriteSymbols() image.BuildImage() + if options.map: + image.WriteMap() finally: tools.FinaliseOutputDir() finally: |