]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spl: Add a debug string before the jump to U-Boot
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:39:11 +0000 (15:39 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:29 +0000 (17:39 -0600)
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>
common/spl/spl.c

index 074c41d5ad2cd2ef3642cc2b6a71aa3f4c4234c5..94b01da56ce92bdef79eb5ed8cbd043271a2a17b 100644 (file)
@@ -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);
 }