Introduce the HAB_CSF_LEN to make conditional size changes easier later on. No functional change. Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- arch/arm/lib/pbl.lds.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib/pbl.lds.S b/arch/arm/lib/pbl.lds.S index 2b4b1d6a9513..898d6be33b54 100644 --- a/arch/arm/lib/pbl.lds.S +++ b/arch/arm/lib/pbl.lds.S @@ -12,6 +12,8 @@ #define BASE (TEXT_BASE - SZ_2M) #endif +#define HAB_CSF_LEN 0x2000 + OUTPUT_FORMAT(BAREBOX_OUTPUT_FORMAT) OUTPUT_ARCH(BAREBOX_OUTPUT_ARCH) @@ -85,7 +87,7 @@ SECTIONS __csf_start = .; .hab_csf : { BYTE(0x5a); - . += + 0x1fff; + . += + HAB_CSF_LEN - 1; } = 0x5a __csf_end = .; #endif /* CONFIG_CPU_64 && CONFIG_HABV4 */ -- 2.39.2