aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2024-01-09 15:00:17 +0100
committerPatrice Chotard <patrice.chotard@foss.st.com>2024-01-19 15:49:20 +0100
commit8a4d098bb0859b3a26c9e1100ed08d7bd1f8ed30 (patch)
treea988c3e0800500625409284e4a115e2f2d3d62be /arch/arm/mach-stm32mp
parentc2c2977227624a20f4a7d79e8abe0548b8acf626 (diff)
downloadu-boot-8a4d098bb0859b3a26c9e1100ed08d7bd1f8ed30.zip
u-boot-8a4d098bb0859b3a26c9e1100ed08d7bd1f8ed30.tar.gz
u-boot-8a4d098bb0859b3a26c9e1100ed08d7bd1f8ed30.tar.bz2
stm32mp2: Fix CONFIG_STM32MP25X flag usage
"#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>
Diffstat (limited to 'arch/arm/mach-stm32mp')
-rw-r--r--arch/arm/mach-stm32mp/include/mach/stm32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/include/mach/stm32.h b/arch/arm/mach-stm32mp/include/mach/stm32.h
index f598da9..6eb85ba 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