]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Allow for skip_at_start when reading entries
authorSimon Glass <sjg@chromium.org>
Thu, 7 Jan 2021 04:35:19 +0000 (21:35 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
commit5c6ba71bbe1285cfd323574dca88b8484a38aecd
tree89ce129ceb7af90ef1e7a721c3333f5eb482f24e
parent6eb9932668fa6bd8c659484b2d18d8a73713208c
binman: Allow for skip_at_start when reading entries

The offset of an entry needs to be adjusted by its skip-at-start value.
This is currently missing when reading entry data. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/191_read_image_skip.dts [new file with mode: 0644]