From: Mela Custodio Date: Wed, 19 Feb 2014 15:16:57 +0000 (+0900) Subject: bootstage: powerpc: support fdt stash and reporting X-Git-Tag: v2014.04-rc2~10^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b892465dae6afc5528724c044991a76f241cd177;p=u-boot bootstage: powerpc: support fdt stash and reporting This implements stashing of bootstage timing data to FDT and automatic timing reporting. To enable define CONFIG_BOOTSTAGE_FDT and CONFIG_BOOTSTAGE_REPORT respectively. Signed-off-by: Rommel G Custodio Reviewed-by: York Sun --- diff --git a/arch/powerpc/lib/bootm.c b/arch/powerpc/lib/bootm.c index c08b62c47e..33099a492d 100644 --- a/arch/powerpc/lib/bootm.c +++ b/arch/powerpc/lib/bootm.c @@ -53,6 +53,13 @@ static void boot_jump_linux(bootm_headers_t *images) bootstage_mark(BOOTSTAGE_ID_RUN_OS); +#ifdef CONFIG_BOOTSTAGE_FDT + bootstage_fdt_add_report(); +#endif +#ifdef CONFIG_BOOTSTAGE_REPORT + bootstage_report(); +#endif + #if defined(CONFIG_SYS_INIT_RAM_LOCK) && !defined(CONFIG_E500) unlock_ram_in_cache(); #endif