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 <yann.gautier@st.com>
Change-Id: I756a04727c494d5f681a45d47d01189dff07dbe7
This commit is contained in:
Yann Gautier 2024-01-18 11:39:19 +01:00
parent cf237f8d55
commit 47ea303389

View File

@ -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();
}
}