
On Wed, May 1, 2019 at 8:13 PM Bin Meng bmeng.cn@gmail.com wrote:
On Fri, Apr 26, 2019 at 11:59 AM Simon Glass sjg@chromium.org wrote:
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
Changes in v2:
- Fix map output when section offset is not set (make it 0)
- Add a test for sections with offsets
tools/binman/README | 7 +++++ tools/binman/bsection.py | 9 +++--- tools/binman/etype/section.py | 3 +- tools/binman/ftest.py | 18 ++++++++++++ tools/binman/test/101_sections_offset.dts | 35 +++++++++++++++++++++++ 5 files changed, 67 insertions(+), 5 deletions(-) create mode 100644 tools/binman/test/101_sections_offset.dts
Reviewed-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!