]> git.ipfire.org Git - thirdparty/u-boot.git/commit
binman: Allow zero-size sections
authorSimon Glass <sjg@chromium.org>
Fri, 14 Sep 2018 10:57:27 +0000 (04:57 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 29 Sep 2018 17:49:35 +0000 (11:49 -0600)
commitb4e1a38c294f56708d1a82717c850da359401d7e
treef14167edc19f79f44580fb27971b8c4bfc94f89e
parent83d73c2f7c471c1a7e5a9a2bf0de287491408b2d
binman: Allow zero-size sections

At present if there is only a zero-size entry in a section this is
reported as an error, e.g.:

   Offset 0x0 (0) is outside the section starting at 0x0 (0)

Adjust the logic in CheckEntries() to avoid this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/bsection.py