[PATCH 036/171] Correct SPL uses of BOOTSTAGE_REPORT
Simon Glass
sjg at chromium.org
Mon Jan 30 15:41:09 CET 2023
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 at chromium.org>
---
arch/mips/lib/bootm.c | 2 +-
arch/x86/lib/bootm.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index 5687ff22cb8..ab92bd06b0e 100644
--- a/arch/mips/lib/bootm.c
+++ b/arch/mips/lib/bootm.c
@@ -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
diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c
index eafcddfa24b..04e475bdc24 100644
--- a/arch/x86/lib/bootm.c
+++ b/arch/x86/lib/bootm.c
@@ -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
--
2.39.1.456.gfc5497dd1b-goog
More information about the U-Boot
mailing list