Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1258427

[PATCH 2/2] ARM: omap4: hwmod: Remove elm address space from hwmod data

From Franklin S Cooper Jr <fcooper@ti.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] ARM: omap4: hwmod: Remove elm address space from hwmod data
Date 2015-10-28 22:10 +0100
Message-ID <qoG8P-7Um-27@gated-at.bofh.it> (permalink)
References <qoG8O-7Um-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


ELM address information is provided by device tree. No longer need
to include this information within hwmod.

This patch has only been boot tested.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 43eebf2..8f13f4a 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -3915,21 +3915,11 @@ static struct omap_hwmod_ocp_if omap44xx_l4_per__dss_venc = {
 	.user		= OCP_USER_MPU,
 };
 
-static struct omap_hwmod_addr_space omap44xx_elm_addrs[] = {
-	{
-		.pa_start	= 0x48078000,
-		.pa_end		= 0x48078fff,
-		.flags		= ADDR_TYPE_RT
-	},
-	{ }
-};
-
 /* l4_per -> elm */
 static struct omap_hwmod_ocp_if omap44xx_l4_per__elm = {
 	.master		= &omap44xx_l4_per_hwmod,
 	.slave		= &omap44xx_elm_hwmod,
 	.clk		= "l4_div_ck",
-	.addr		= omap44xx_elm_addrs,
 	.user		= OCP_USER_MPU | OCP_USER_SDMA,
 };
 
-- 
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Remove elm address space from omap4 hwmod Franklin S Cooper Jr <fcooper@ti.com> - 2015-10-28 22:10 +0100
  [PATCH 2/2] ARM: omap4: hwmod: Remove elm address space from hwmod data Franklin S Cooper Jr <fcooper@ti.com> - 2015-10-28 22:10 +0100
  [PATCH 1/2] ARM: dts: omap4: Add elm node Franklin S Cooper Jr <fcooper@ti.com> - 2015-10-28 22:10 +0100

csiph-web