]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:54 +0000 (13:48 +0200)
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 6dd1b594187227965b78f038ead108e9a04b22f0..a989f7cd59858d7988ae198c71507747d1dd02fb 100644 (file)
@@ -299,6 +299,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);
 }