]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Don't generate a bootstage report in SPL
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:59:07 +0000 (21:59 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:16 +0000 (13:02 +0800)
This report is normally generated by U-Boot proper. Correct the condition
here so that it respects the Kconfig options for bootstage.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/bootm.c

index 832b1f901c6486d3c515c2f239c49f6c423b0104..5443a862ab5ec5886d71b8e71f266d2cd662b22a 100644 (file)
@@ -35,7 +35,7 @@ void bootm_announce_and_cleanup(void)
        timestamp_add_now(TS_U_BOOT_START_KERNEL);
 #endif
        bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel");
-#ifdef CONFIG_BOOTSTAGE_REPORT
+#if CONFIG_IS_ENABLED(BOOTSTAGE_REPORT)
        bootstage_report();
 #endif