Commit b892465dae6afc5528724c044991a76f241cd177
Committed by
York Sun
1 parent
9c641a872a
Exists in
v2017.01-smarct4x
and in
48 other branches
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 <sessyargc+u-boot@gmail.com> Reviewed-by: York Sun <yorksun@freescale.com>
Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff
arch/powerpc/lib/bootm.c
... | ... | @@ -53,6 +53,13 @@ |
53 | 53 | |
54 | 54 | bootstage_mark(BOOTSTAGE_ID_RUN_OS); |
55 | 55 | |
56 | +#ifdef CONFIG_BOOTSTAGE_FDT | |
57 | + bootstage_fdt_add_report(); | |
58 | +#endif | |
59 | +#ifdef CONFIG_BOOTSTAGE_REPORT | |
60 | + bootstage_report(); | |
61 | +#endif | |
62 | + | |
56 | 63 | #if defined(CONFIG_SYS_INIT_RAM_LOCK) && !defined(CONFIG_E500) |
57 | 64 | unlock_ram_in_cache(); |
58 | 65 | #endif |