[PATCH] x86: Correct condition for init_cache_f_r()
Simon Glass
sjg at chromium.org
Wed Jun 4 15:09:02 CEST 2025
The condition here is reversed, which makes link and coral very slow,
leading to lab failures.
Signed-off-by: Simon Glass <sjg at chromium.org>
Fixes 6c171f7a184 ("common: board: make initcalls static")
---
common/board_f.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/board_f.c b/common/board_f.c
index bff465d9cb2..c8a612d6070 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -1079,7 +1079,7 @@ void board_init_f(ulong boot_flags)
*/
static void initcall_run_f_r(void)
{
-#if CONFIG_IS_ENABLED(X86_64)
+#if !CONFIG_IS_ENABLED(X86_64)
INITCALL(init_cache_f_r);
#endif
}
--
2.43.0
base-commit: 422222f5170ac399f0e5fd39290f8508ad777fcc
branch: x86b
More information about the U-Boot
mailing list