[PATCH] ARM: stm32mp: remove unused hardcoded MMIO address constants

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Jun 11 01:28:29 PDT 2024


These address are not used and probably won't be soon, because they are
either probed from DT or handled in the secure world.

Given that they are needlessly generic (STM32_ instead of STM32MP1(5)),
let's drop them.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/mach/stm32mp/stm32.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/mach/stm32mp/stm32.h b/include/mach/stm32mp/stm32.h
index 5ce93e5eb34b..f698ebfaf4f1 100644
--- a/include/mach/stm32mp/stm32.h
+++ b/include/mach/stm32mp/stm32.h
@@ -9,14 +9,8 @@
 /*
  * Peripheral memory map
  */
-#define STM32_RCC_BASE			0x50000000
-#define STM32_PWR_BASE			0x50001000
 #define STM32_DBGMCU_BASE		0x50081000
 #define STM32_DDRCTL_BASE		0x5A003000
-#define STM32_DDRPHY_BASE		0x5A004000
-#define STM32_BSEC_BASE			0x5C005000
-#define STM32_TZC_BASE			0x5C006000
-#define STM32_ETZPC_BASE		0x5C007000
 #define STM32_TAMP_BASE			0x5C00A000
 
 #define STM32_USART1_BASE		0x5C000000
-- 
2.39.2




More information about the barebox mailing list