From: Simon Glass <sjg@chromium.org>
Date: Tue, 23 Jun 2015 21:39:11 +0000 (-0600)
Subject: spl: Add a debug string before the jump to U-Boot
X-Git-Tag: v2025.01-rc5-pxa1908~12553
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=aea3d40d05f0eb8627ac0999315cad5c4b3676f5;p=u-boot.git

spl: Add a debug string before the jump to U-Boot

As a debug option, add positive confirmation that SPL has completed
execution. This can help with diagnosing the location of unexpected hangs.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/common/spl/spl.c b/common/spl/spl.c
index 074c41d5ad..94b01da56c 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -298,6 +298,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
 	      gd->malloc_ptr / 1024);
 #endif
 
+	debug("loaded - jumping to U-Boot...");
 	jump_to_image_no_args(&spl_image);
 }