summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:39:11 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:29 -0600
commitaea3d40d05f0eb8627ac0999315cad5c4b3676f5 (patch)
tree12d0a00156791c2aec88f22bfacdd87104f72f1f /common/spl
parent070d00b8dc8453b8c2f12d74551919cf2b124136 (diff)
downloadu-boot-imx-aea3d40d05f0eb8627ac0999315cad5c4b3676f5.zip
u-boot-imx-aea3d40d05f0eb8627ac0999315cad5c4b3676f5.tar.gz
u-boot-imx-aea3d40d05f0eb8627ac0999315cad5c4b3676f5.tar.bz2
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>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/spl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 074c41d..94b01da 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);
}