Print the FIT image name as it is loaded and the BL31 entry address before handoff. This provides visibility during SPL bring-up on Qualcomm chainloaded platforms.
Signed-off-by: Abhilash V <[email protected]> Signed-off-by: KR Sowmiya <[email protected]> --- common/spl/spl_atf.c | 1 + common/spl/spl_fit.c | 1 + 2 files changed, 2 insertions(+) diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c index cb0604ce034..0f7d7d2a4ab 100644 --- a/common/spl/spl_atf.c +++ b/common/spl/spl_atf.c @@ -206,6 +206,7 @@ static void __noreturn bl31_entry(ulong bl31_entry, ulong bl32_entry, if (!CONFIG_IS_ENABLED(SYS_DCACHE_OFF)) dcache_disable(); + printf("Jumping to BL31 at 0x%lx\n", bl31_entry); atf_entry(bl31_params, (void *)fdt_addr); } diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 64e5f95546f..f12eae6f307 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -267,6 +267,7 @@ static int load_simple_fit(struct spl_load_info *info, ulong fit_offset, int ret; log_debug("starting\n"); + printf("Loading image: %s\n", fit_get_name(fit, node, NULL)); if (CONFIG_IS_ENABLED(BOOTMETH_VBE) && xpl_get_phase(info) != IH_PHASE_NONE) { enum image_phase_t phase; -- 2.43.0
