meta-st-stm32mp/recipes-bsp/trusted-firmware-a/tf-a-stm32mp/0099-Modify-Reset-reason-tr...

26 lines
764 B
Diff

From f83c3e1e478fa7dfd8ee41b3c7b0c0c32341d954 Mon Sep 17 00:00:00 2001
From: Lionel VITTE <lionel.vitte@st.com>
Date: Thu, 24 Mar 2022 13:48:26 +0100
Subject: [PATCH] Modify 'Reset reason' trace level
---
plat/st/stm32mp1/bl2_plat_setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plat/st/stm32mp1/bl2_plat_setup.c b/plat/st/stm32mp1/bl2_plat_setup.c
index 57aa5590a..b248d17ff 100644
--- a/plat/st/stm32mp1/bl2_plat_setup.c
+++ b/plat/st/stm32mp1/bl2_plat_setup.c
@@ -66,7 +66,7 @@ static void print_reset_reason(void)
return;
}
- INFO("Reset reason (0x%x):\n", rstsr);
+ NOTICE("Reset reason (0x%x):\n", rstsr);
if ((rstsr & RCC_MP_RSTSCLRR_PADRSTF) == 0U) {
if ((rstsr & RCC_MP_RSTSCLRR_STDBYRSTF) != 0U) {
--
2.17.1