From: Simon Glass Date: Fri, 26 Apr 2019 03:59:07 +0000 (-0600) Subject: x86: Don't generate a bootstage report in SPL X-Git-Tag: v2019.07-rc2~14^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf4d8beb126788bfd71da2645c26987516c26d10;p=platform%2Fkernel%2Fu-boot.git x86: Don't generate a bootstage report in SPL 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 Reviewed-by: Bin Meng --- diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c index 832b1f9..5443a86 100644 --- a/arch/x86/lib/bootm.c +++ b/arch/x86/lib/bootm.c @@ -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