Commit 7fc3ad3d authored by Jamie McCrae's avatar Jamie McCrae Committed by Andrzej Puzdrowski
Browse files

boot: zephyr: Fix RAM load chain load address

Fixes showing the wrong address when booting a RAM load image

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent 49976dc6
Loading
Loading
Loading
Loading
+5 −0
Changes for boot/zephyr/main.c: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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");