Skip to content

Commit e876155

Browse files
oyvindronningstadmbolivar-nordic
authored andcommitted
[nrf noup] linker.ld: Change ifdef from SECURE_BOOT to FW_METADATA
FW_METADATA is its own subsys now. This improves user experience with B0 + MCUboot. Signed-off-by: Øyvind Rønningstad <[email protected]> (cherry picked from commit 04b29a7) (cherry picked from commit c1f7495) Signed-off-by: Martí Bolívar <[email protected]>
1 parent d3f92f6 commit e876155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/arch/arm/cortex_m/scripts/linker.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ SECTIONS
185185

186186
_vector_end = .;
187187
/* This is used for Secure Boot */
188-
#if defined(CONFIG_SECURE_BOOT)
189-
. = CONFIG_SB_FIRMWARE_INFO_OFFSET;
188+
#if defined(CONFIG_FW_METADATA)
189+
. = CONFIG_FW_FIRMWARE_INFO_OFFSET;
190190
KEEP(*(.firmware_info))
191191
#endif
192192
} GROUP_LINK_IN(ROMABLE_REGION)

0 commit comments

Comments
 (0)