mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: stm32mp: remove unused hardcoded MMIO address constants
@ 2024-06-11  8:28 Ahmad Fatoum
  2024-06-13  7:10 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-06-11  8:28 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: stm32mp: remove unused hardcoded MMIO address constants
  2024-06-11  8:28 [PATCH] ARM: stm32mp: remove unused hardcoded MMIO address constants Ahmad Fatoum
@ 2024-06-13  7:10 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-06-13  7:10 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Tue, 11 Jun 2024 10:28:29 +0200, Ahmad Fatoum wrote:
> 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.
> 
> 
> [...]

Applied, thanks!

[1/1] ARM: stm32mp: remove unused hardcoded MMIO address constants
      https://git.pengutronix.de/cgit/barebox/commit/?id=c7111ead0f54 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-13  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-11  8:28 [PATCH] ARM: stm32mp: remove unused hardcoded MMIO address constants Ahmad Fatoum
2024-06-13  7:10 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox