diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2015-01-14 21:44:13 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2015-01-21 14:02:49 +0100 |
commit | e13a50b34bdda624571b4bd49722f38327c02d6a (patch) | |
tree | ad81c041c7cc1208d0761f3020fd50e617ba93ff /arch/mips/lib/bootm.c | |
parent | 5002d8cc54f5be2230c4ccf60448e8720444671c (diff) | |
download | u-boot-imx-e13a50b34bdda624571b4bd49722f38327c02d6a.zip u-boot-imx-e13a50b34bdda624571b4bd49722f38327c02d6a.tar.gz u-boot-imx-e13a50b34bdda624571b4bd49722f38327c02d6a.tar.bz2 |
MIPS: bootm: add bootstage reporting
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/lib/bootm.c')
-rw-r--r-- | arch/mips/lib/bootm.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 426f68a..d9d8396 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -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); } |