From 47ea303389f6d0ac81617366973ece9d93dc49c9 Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Thu, 18 Jan 2024 11:39:19 +0100 Subject: [PATCH] feat(stm32mp2): use early traces Replace ERROR message with EARLY_ERROR for OTP driver probe, as this will be called before default console is enabled. Signed-off-by: Yann Gautier Change-Id: I756a04727c494d5f681a45d47d01189dff07dbe7 --- plat/st/stm32mp2/bl2_plat_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plat/st/stm32mp2/bl2_plat_setup.c b/plat/st/stm32mp2/bl2_plat_setup.c index a09598b38..724209a16 100644 --- a/plat/st/stm32mp2/bl2_plat_setup.c +++ b/plat/st/stm32mp2/bl2_plat_setup.c @@ -27,7 +27,7 @@ void bl2_platform_setup(void) void bl2_el3_plat_arch_setup(void) { if (stm32_otp_probe() != 0U) { - ERROR("OTP probe failed\n"); + EARLY_ERROR("OTP probe failed\n"); panic(); } }