From: Patrice Chotard Date: Tue, 9 Jan 2024 14:00:17 +0000 (+0100) Subject: stm32mp2: Fix CONFIG_STM32MP25X flag usage X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=8a4d098bb0859b3a26c9e1100ed08d7bd1f8ed30;p=u-boot.git stm32mp2: Fix CONFIG_STM32MP25X flag usage "#if" was used instead of "#ifdef" Fixes: 01a701994b05 ("stm32mp2: initial support") Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- diff --git a/arch/arm/mach-stm32mp/include/mach/stm32.h b/arch/arm/mach-stm32mp/include/mach/stm32.h index f598da99fb..6eb85ba723 100644 --- a/arch/arm/mach-stm32mp/include/mach/stm32.h +++ b/arch/arm/mach-stm32mp/include/mach/stm32.h @@ -157,7 +157,7 @@ enum forced_boot_mode { #endif /* __ASSEMBLY__ */ #endif /* CONFIG_STM32MP15X || CONFIG_STM32MP13X */ -#if CONFIG_STM32MP25X +#ifdef CONFIG_STM32MP25X #define STM32_RCC_BASE 0x44200000 #define STM32_TAMP_BASE 0x46010000