]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Allow image_pos to be None when writing symbols
authorSimon Glass <sjg@chromium.org>
Mon, 26 Aug 2024 19:11:42 +0000 (13:11 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 26 Sep 2024 10:40:30 +0000 (12:40 +0200)
commita96dda1a70afc348d472cfb087742604e50b8d46
treeead8aed1467d93e3121394f92251b1b6f9f4c030
parentb73d0bb584e5f89c8d80c7435f1a6c036be25dd9
binman: Allow image_pos to be None when writing symbols

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@chromium.org>
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/338_symbols_comp.dts [new file with mode: 0644]