From dbf6be9f7f3b650ae5248eb7e2c00e94b4da867c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 1 Aug 2018 15:22:42 -0600 Subject: 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 --- tools/binman/test/u_boot_binman_syms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/binman/test/u_boot_binman_syms.c') diff --git a/tools/binman/test/u_boot_binman_syms.c b/tools/binman/test/u_boot_binman_syms.c index cbb2f3f7b1..4898f983e3 100644 --- a/tools/binman/test/u_boot_binman_syms.c +++ b/tools/binman/test/u_boot_binman_syms.c @@ -10,4 +10,4 @@ binman_sym_declare(unsigned long, u_boot_spl, offset); binman_sym_declare(unsigned long long, u_boot_spl2, offset); -binman_sym_declare(unsigned long, u_boot_any, offset); +binman_sym_declare(unsigned long, u_boot_any, image_pos); -- cgit