From: Marek Vasut Date: Mon, 12 May 2025 16:44:53 +0000 (+0200) Subject: ARM: stm32: Fix DBGMCU macro on STM32MP13xx X-Git-Tag: v2025.10-rc1~118^2~30^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4972d5b59cb14a59d5afab3cba5a7ae7d7aedca;p=thirdparty%2Fu-boot.git ARM: stm32: Fix DBGMCU macro on STM32MP13xx 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 Reviewed-by: Patrice Chotard --- diff --git a/arch/arm/mach-stm32mp/include/mach/stm32.h b/arch/arm/mach-stm32mp/include/mach/stm32.h index 47b459b75d1..dfba57e7dc4 100644 --- a/arch/arm/mach-stm32mp/include/mach/stm32.h +++ b/arch/arm/mach-stm32mp/include/mach/stm32.h @@ -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