Skip to contentSkip to conversation

ARM: DRA7: hwmod: Remove QSPI address space entry from hwmod

PATCH In review Vignesh R 2 participants 2 messages May 16, 2016 – Jun 10, 2016

Subsystems (4)
lore
Share & tools
lore

Vignesh R

author
#0 lore raw

PATCH 1/1 ARM: DRA7: hwmod: Remove QSPI address space entry from hwmod

QSPI address space information is passed from device tree. Therefore remove legacy way of passing address space via hwmod data.

---
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 10 ----------
 1 file changed, 10 deletions(-)
arch/arm/mach-omap2/omap_hwmod_7xx_data.c +0 -10
index d0e7e5259ec3..fac0a2044da4 100644
@@ -3410,21 +3410,11 @@ static struct omap_hwmod_ocp_if dra7xx_l4_cfg__pciess2 = {
 	.user		= OCP_USER_MPU | OCP_USER_SDMA,
 };
 
-static struct omap_hwmod_addr_space dra7xx_qspi_addrs[] = {
-	{
-		.pa_start	= 0x4b300000,
-		.pa_end		= 0x4b30007f,
-		.flags		= ADDR_TYPE_RT
-	},
-	{ }
-};
-
 /* l3_main_1 -> qspi */
 static struct omap_hwmod_ocp_if dra7xx_l3_main_1__qspi = {
 	.master		= &dra7xx_l3_main_1_hwmod,
 	.slave		= &dra7xx_qspi_hwmod,
 	.clk		= "l3_iclk_div",
-	.addr		= dra7xx_qspi_addrs,
 	.user		= OCP_USER_MPU | OCP_USER_SDMA,
 };
 
Signature · 1 line
2.8.2
maintainer
#1 lore raw
Quoted 2 lines · Vignesh R

QSPI address space information is passed from device tree. Therefore remove legacy way of passing address space via hwmod data.

Applying this one into omap-for-v4.8/soc thanks.

Tony