mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] ARM: stm32mp: remove unused hardcoded MMIO address constants
Date: Tue, 11 Jun 2024 10:28:29 +0200	[thread overview]
Message-ID: <20240611082829.2964046-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2024-06-11  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11  8:28 Ahmad Fatoum [this message]
2024-06-13  7:10 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240611082829.2964046-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox