binman: Allow sections to have an offset
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:58:39 +0000 (21:58 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 04:44:07 +0000 (12:44 +0800)
commit9481c80f55260fa2b2c37445fb2a30811b136ed3
tree7ac1d0265c52f660145b4d628ff887fbd374a157
parent0b96f6ecbe8f68232adeb4340883aaeee5d63bd5
binman: Allow sections to have an offset

At present sections are always placed automatically. Even if an 'offset'
property is provided it is ignored. Update the logic to support an offset
for sections.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
tools/binman/README
tools/binman/bsection.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/101_sections_offset.dts [new file with mode: 0644]