]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM: stm32: Fix DBGMCU macro on STM32MP13xx
authorMarek Vasut <marek.vasut@mailbox.org>
Mon, 12 May 2025 16:44:53 +0000 (18:44 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Jun 2025 07:42:55 +0000 (09:42 +0200)
The DBGMCU block is available at address 0x50081000 both on STM32MP13xx
and on STM32MP15xx . There is no reason to limit the DBGMCU macro being
set only on STM32MP15xx , remove the ifdeffery.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/include/mach/stm32.h

index 47b459b75d1ff7b90cc71253a26a0d606e96fd96..dfba57e7dc429c184d73960a2064b064bfeba942 100644 (file)
@@ -78,9 +78,7 @@ enum forced_boot_mode {
 #define STM32_RCC_BASE                 0x50000000
 #define STM32_PWR_BASE                 0x50001000
 #define STM32_SYSCFG_BASE              0x50020000
-#ifdef CONFIG_STM32MP15X
 #define STM32_DBGMCU_BASE              0x50081000
-#endif
 #define STM32_FMC2_BASE                        0x58002000
 #define STM32_IWDG2_BASE               0x5A002000
 #define STM32_DDRCTRL_BASE             0x5A003000