]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
feat(st): add trace for early console
authorYann Gautier <yann.gautier@foss.st.com>
Thu, 9 Jun 2022 15:34:30 +0000 (17:34 +0200)
committerYann Gautier <yann.gautier@st.com>
Fri, 23 Sep 2022 13:17:43 +0000 (15:17 +0200)
When the early console is configured with STM32MP_EARLY_CONSOLE,
display a message indicating it is enabled.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Change-Id: Iafdfa5afef27eba823d707841853a8a46de0b42d

plat/st/common/stm32mp_common.c

index d922d3c8408a4b3b8745d6aa00d69671b5128b9b..9a955a64a92af465166ff8349b114b2562c20c0b 100644 (file)
@@ -276,6 +276,7 @@ void stm32mp_setup_early_console(void)
 {
        plat_crash_console_init();
        set_console(STM32MP_DEBUG_USART_BASE, STM32MP_DEBUG_USART_CLK_FRQ);
+       NOTICE("Early console setup\n");
 }
 #endif /* STM32MP_EARLY_CONSOLE */