summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Karlman <[email protected]>2026-01-22 17:20:54 +0000
committerTom Rini <[email protected]>2026-01-28 14:41:21 -0600
commitb8a820ac98fda6005ae131d89026c60bf7c9c535 (patch)
tree619581e7ca625887831c950f74cb33769afd83d4
parentac70eaf071133f40478e570c5e2aa9069312ef48 (diff)
armv8: u-boot-spl.lds: Place binman symbols at end of binary
It can be useful in xPL to access symbols from binman, such as the offset/position and size of a binman entry. Place these binman symbols together at the end of the xPL binary for ARMv8, similar to ARM and RISC-V. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Simon Glass <[email protected]>
-rw-r--r--arch/arm/cpu/armv8/u-boot-spl.lds8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/u-boot-spl.lds b/arch/arm/cpu/armv8/u-boot-spl.lds
index d9963846c4f..b732133ce76 100644
--- a/arch/arm/cpu/armv8/u-boot-spl.lds
+++ b/arch/arm/cpu/armv8/u-boot-spl.lds
@@ -55,6 +55,14 @@ SECTIONS
. = ALIGN(8);
} >.sram
+ .binman_sym_table : {
+ . = ALIGN(8);
+ __binman_sym_start = .;
+ KEEP(*(SORT(.binman_sym*)));
+ __binman_sym_end = .;
+ . = ALIGN(8);
+ } > .sram
+
__image_copy_end = .;
_end = .;
_image_binary_end = .;