boot: zephyr: Fix RAM load chain load address

Fixes showing the wrong address when booting a RAM load image

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-07-24 14:09:45 +01:00 committed by Andrzej Puzdrowski
parent 49976dc678
commit 7fc3ad3d0b
1 changed files with 5 additions and 0 deletions

View File

@ -534,8 +534,13 @@ int main(void)
FIH_PANIC;
}
#ifdef CONFIG_BOOT_RAM_LOAD
BOOT_LOG_INF("Bootloader chainload address offset: 0x%x",
rsp.br_hdr->ih_load_addr);
#else
BOOT_LOG_INF("Bootloader chainload address offset: 0x%x",
rsp.br_image_off);
#endif
#if defined(MCUBOOT_DIRECT_XIP)
BOOT_LOG_INF("Jumping to the image slot");