]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Add a new 'image-pos' property
authorSimon Glass <sjg@chromium.org>
Wed, 1 Aug 2018 21:22:42 +0000 (15:22 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 1 Aug 2018 22:30:45 +0000 (16:30 -0600)
commitdbf6be9f7f3b650ae5248eb7e2c00e94b4da867c
tree4b2bb2ba21e04668b24117c72e62eaa5fa39d8a7
parent8122f3967f6eaab7134051d1d8c9b1bfc3babadb
binman: Add a new 'image-pos' property

At present each entry has an offset within its parent section. This is
useful for figuring out how entries relate to one another. However it
is sometimes necessary to locate an entry within an image, regardless
of which sections it is nested inside.

Add a new 'image-pos' property to provide this information. Also add
some documentation for the -u option binman provides, which updates the
device tree with final entry information.

Since the image position is a better symbol to use for the position of
U-Boot as obtained by SPL, update the SPL symbols to use this instead of
offset, which might be incorrect if hierarchical sections are used.

Signed-off-by: Simon Glass <sjg@chromium.org>
12 files changed:
common/spl/spl.c
common/spl/spl_ram.c
include/spl.h
tools/binman/README
tools/binman/bsection.py
tools/binman/control.py
tools/binman/entry.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/test/u_boot_binman_syms
tools/binman/test/u_boot_binman_syms.c