]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stm32mp2: Fix CONFIG_STM32MP25X flag usage
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 9 Jan 2024 14:00:17 +0000 (15:00 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Jan 2024 14:49:20 +0000 (15:49 +0100)
"#if" was used instead of "#ifdef"

Fixes: 01a701994b05 ("stm32mp2: initial support")
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/include/mach/stm32.h

index f598da99fbab9badcaa72e15c12a2907279b58cc..6eb85ba7233a2a2b9a0b42954b2c51adec66a90e 100644 (file)
@@ -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