summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8058e3)
raw | patch | inline | side by side (parent: d8058e3)
author | Sundar Raman <a0393242@ti.com> | |
Thu, 18 Jul 2013 22:42:14 +0000 (17:42 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 26 Jul 2013 01:45:54 +0000 (20:45 -0500) |
This is required so that the omap_hwmod_get_mpu_rt_va()
api returns a virtual register base address for the IP.
Change-Id: I29aff07f34653c552b3eac3a1ac3f10e36b7efbb
Signed-off-by: Sundar Raman <a0393242@ti.com>
api returns a virtual register base address for the IP.
Change-Id: I29aff07f34653c552b3eac3a1ac3f10e36b7efbb
Signed-off-by: Sundar Raman <a0393242@ti.com>
arch/arm/mach-omap2/omap_hwmod_54xx_data.c | patch | blob | history | |
arch/arm/mach-omap2/omap_hwmod_7xx_data.c | patch | blob | history |
diff --git a/arch/arm/mach-omap2/omap_hwmod_54xx_data.c b/arch/arm/mach-omap2/omap_hwmod_54xx_data.c
index ee7f4a9a77aaa3820ed3037d3575314aed78dfa2..73c152d17a91fabd2d6bdd95abdef72805c1e945 100644 (file)
/* Base offset for all OMAP5 dma requests */
#define OMAP54XX_DMA_REQ_START 1
+/* Backward references (IPs with Bus Master capability) */
+static struct omap_hwmod omap54xx_bb2d_hwmod;
+
/*
* IP blocks
{ .irq = -1 }
};
+static struct omap_hwmod_addr_space omap54xx_bb2d_addrs[] = {
+ {
+ .pa_start = 0x59000000,
+ .pa_end = 0x590007ff,
+ .flags = ADDR_TYPE_RT
+ },
+ { }
+};
+
+/* l3_main_2 -> bb2d */
+static struct omap_hwmod_ocp_if omap54xx_l3_main_2__bb2d = {
+ .master = &omap54xx_l3_main_2_hwmod,
+ .slave = &omap54xx_bb2d_hwmod,
+ .clk = "l3_iclk_div",
+ .addr = omap54xx_bb2d_addrs,
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
+};
+
static struct omap_hwmod omap54xx_bb2d_hwmod = {
.name = "bb2d",
.class = &omap54xx_bb2d_hwmod_class,
.user = OCP_USER_MPU,
};
-/* l3_main_2 -> bb2d */
-static struct omap_hwmod_ocp_if omap54xx_l3_main_2__bb2d = {
- .master = &omap54xx_l3_main_2_hwmod,
- .slave = &omap54xx_bb2d_hwmod,
- .clk = "l3_iclk_div",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
-};
static struct omap_hwmod_addr_space omap54xx_c2c_addrs[] = {
{
index b648382f25bf124083d1e7f6b0fe6fdf1fec0f18..29d7ee61f3caa33e6ea0251f7f5ce8b0bbe40daf 100644 (file)
{
.pa_start = 0x59000000,
.pa_end = 0x590007ff,
+ .flags = ADDR_TYPE_RT
},
{ }
};