diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-09 18:39:41 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-25 14:46:57 -0600 |
commit | 0ba4b3dfee57a4e5803abd881e9654fb0414a3c1 (patch) | |
tree | d0c8095f494db481060bc3d46ee2e641c57004fd /tools/binman/etype/section.py | |
parent | b1cca9552c6c930d094806a64b2096411783d13f (diff) | |
download | u-boot-0ba4b3dfee57a4e5803abd881e9654fb0414a3c1.zip u-boot-0ba4b3dfee57a4e5803abd881e9654fb0414a3c1.tar.gz u-boot-0ba4b3dfee57a4e5803abd881e9654fb0414a3c1.tar.bz2 |
binman: Allow missing Intel blobs
Update the Intel blob entries to support missing binaries.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools/binman/etype/section.py')
-rw-r--r-- | tools/binman/etype/section.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py index dd7f1cc..7cd12c0 100644 --- a/tools/binman/etype/section.py +++ b/tools/binman/etype/section.py @@ -442,8 +442,8 @@ class Entry_section(Entry): if not entry: self._Raise("Unable to set offset/size for unknown entry '%s'" % name) - entry.SetOffsetSize(self._skip_at_start + offset if offset else None, - size) + entry.SetOffsetSize(self._skip_at_start + offset if offset is not None + else None, size) def GetEntryOffsets(self): """Handle entries that want to set the offset/size of other entries |