
From: Simon Glass <sjg@chromium.org> Add debugging info for the jump address and range, to assist in checking the memory map and usage. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/x86/lib/spl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c index a9abc045ca2..0b64dad6435 100644 --- a/arch/x86/lib/spl.c +++ b/arch/x86/lib/spl.c @@ -261,6 +261,12 @@ static int spl_board_load_image(struct spl_image_info *spl_image, if (spl_image->load_addr != spl_get_image_pos()) { /* Copy U-Boot from ROM */ + log_debug("copy to %lx-%lx from %lx-%lx size %lx\n", + spl_image->load_addr, + spl_image->load_addr + spl_get_image_size(), + spl_get_image_pos(), + spl_get_image_pos() + spl_get_image_size(), + spl_get_image_size()); memcpy((void *)spl_image->load_addr, (void *)spl_get_image_pos(), spl_get_image_size()); } @@ -281,7 +287,7 @@ void __noreturn jump_to_image(struct spl_image_info *spl_image) { int ret; - log_debug("Jumping to 64-bit U-Boot\n"); + log_debug("Jumping to 64-bit U-Boot at %lx\n", spl_image->entry_point); ret = cpu_jump_to_64bit_uboot(spl_image->entry_point); debug("ret=%d\n", ret); hang(); -- 2.43.0