]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL uses of BOOTSTAGE_REPORT
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:20 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000 (16:32 -0500)
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_BOOTSTAGE_REPORT defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/mips/lib/bootm.c
arch/x86/lib/bootm.c

index 5687ff22cb8f8c56d1b29e0cdd93ff3a9968957f..ab92bd06b0ee02fe1be5854394eadc4f7272fefe 100644 (file)
@@ -287,7 +287,7 @@ static void boot_jump_linux(struct bootm_headers *images)
 #if IS_ENABLED(CONFIG_BOOTSTAGE_FDT)
        bootstage_fdt_add_report();
 #endif
-#if CONFIG_IS_ENABLED(BOOTSTAGE_REPORT)
+#if IS_ENABLED(CONFIG_BOOTSTAGE_REPORT)
        bootstage_report();
 #endif
 
index eafcddfa24b25a406c8e3a40f1d566dbe3c76af3..04e475bdc244b540368576034b2f2d77cfa4277f 100644 (file)
@@ -39,7 +39,7 @@ void bootm_announce_and_cleanup(void)
        timestamp_add_now(TS_START_KERNEL);
 #endif
        bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel");
-#if CONFIG_IS_ENABLED(BOOTSTAGE_REPORT)
+#if IS_ENABLED(CONFIG_BOOTSTAGE_REPORT)
        bootstage_report();
 #endif