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:
parent
49976dc678
commit
7fc3ad3d0b
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue