Define CONFIG_BOOTSTAGE_REPORT to get a timing report before the kernel runs.
Signed-off-by: Simon Glass <s...@chromium.org> --- README | 6 ++++++ arch/arm/lib/bootm.c | 3 +++ 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/README b/README index f9e4e65..d53981c 100644 --- a/README +++ b/README @@ -2037,6 +2037,12 @@ The following options need to be configured: You can add calls to bootstage_mark() to set time markers. + CONFIG_BOOTSTAGE_REPORT + + Define this to get a report listing the timing information + collected during the boot process. This is generated just + before control is handed off to the kernel. + - Standalone program support: CONFIG_STANDALONE_LOAD_ADDR diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index b763403..5116e95 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -84,6 +84,9 @@ static void announce_and_cleanup(void) { printf("\nStarting kernel ...\n\n"); bootstage_mark(BOOTSTAGE_BOOTM_HANDOFF, "start_kernel"); +#ifdef CONFIG_BOOTSTAGE_REPORT + bootstage_report(); +#endif #ifdef CONFIG_USB_DEVICE { -- 1.7.3.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot