]> git.sur5r.net Git - u-boot/commitdiff
MIPS: bootm: add bootstage reporting
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 14 Jan 2015 20:44:13 +0000 (21:44 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 21 Jan 2015 13:02:49 +0000 (14:02 +0100)
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/lib/bootm.c

index 426f68a990861de8784e45738c2d1e337f17c99a..d9d8396e63b24b90838970c3256408a3c633f56b 100644 (file)
@@ -310,8 +310,12 @@ static void boot_jump_linux(bootm_headers_t *images)
        if (mips_boot_malta)
                linux_extra = gd->ram_size;
 
-       /* we assume that the kernel is in place */
-       printf("\nStarting kernel ...\n\n");
+#ifdef CONFIG_BOOTSTAGE_FDT
+       bootstage_fdt_add_report();
+#endif
+#ifdef CONFIG_BOOTSTAGE_REPORT
+       bootstage_report();
+#endif
 
        kernel(linux_argc, (ulong)linux_argv, (ulong)linux_env, linux_extra);
 }