
27 Sep
2019
27 Sep
'19
2:38 a.m.
It is useful to be able to access the size of an image in SPL, with something like:
binman_sym_declare(unsigned long, u_boot_any, size);
... ulong u_boot_size = binman_sym(ulong, u_boot_any, size);
Add support for this and update the tests.
Signed-off-by: Simon Glass sjg@chromium.org ---
tools/binman/elf_test.py | 4 ++-- tools/binman/etype/section.py | 2 ++ tools/binman/ftest.py | 14 +++++++------- tools/binman/test/u_boot_binman_syms.c | 1 + 4 files changed, 12 insertions(+), 9 deletions(-)
Applied to u-boot-dm, thanks!