]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Allow symbols to be resolved inside sections
authorSimon Glass <sjg@chromium.org>
Sat, 24 Aug 2019 13:23:00 +0000 (07:23 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:02 +0000 (08:40 -0600)
commit74974229e19a4c94d1b4ecdef3a815515da274fa
tree6aa9a2708b33f9a24e5c8f56fafd32e82b9755e4
parenta1c28c6949d53849113eb3562cc30f8069367f80
binman: Allow symbols to be resolved inside sections

At present we only support symbols inside binaries which are at the top
level of an image. This restrictions seems unreasonable since more complex
images may want to group binaries within different sections.

Relax the restriction, adding a new _SetupTplElf() helper function.

Also fix a typo in the comment for testTpl().

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/u_boot_spl.py
tools/binman/etype/u_boot_tpl.py
tools/binman/ftest.py
tools/binman/test/149_symbols_tpl.dts [new file with mode: 0644]