Skip to content

Commit

Permalink
plat-stm32mp2: fix test on CFG_STM32_UART
Browse files Browse the repository at this point in the history
Fix test directive on CFG_STM32_UART that boolean CFG_ configuration
switches do not have a meaningful value.

Fixes: bd1fffe ("plat-stm32mp2: add new platform support")
Reviewed-by: Jerome Forissier <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
etienne-lms committed Dec 21, 2023
1 parent 3b4a785 commit 469a0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/arch/arm/plat-stm32mp2/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static struct stm32_uart_pdata console_data;

void console_init(void)
{
#if CFG_STM32_UART
#ifdef CFG_STM32_UART
/* Early console initialization before MMU setup */
struct uart {
paddr_t pa;
Expand Down

0 comments on commit 469a0fb

Please sign in to comment.