[PATCH 14/15] binman: Allow image_pos to be None when writing symbols
Simon Glass
sjg at chromium.org
Fri Sep 27 00:07:15 CEST 2024
Some images do not have an image_pos value, for example an image which
is part of a compressed section and therefore cannot be accessed
directly.
Handle this case, returning None as the value.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/etype/section.py | 3 ++
tools/binman/ftest.py | 49 +++++++++++++++++++-------
tools/binman/test/338_symbols_comp.dts | 26 ++++++++++++++
3 files changed, 65 insertions(+), 13 deletions(-)
create mode 100644 tools/binman/test/338_symbols_comp.dts
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list