]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: hwmod: add _find_mpu_rt_port()
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:27 +0000 (04:04 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:04:27 +0000 (04:04 -0600)
commit8899e1b92bd10f46699617bbeb71a515b6ad2537
treebf764e93567a52d6723ac8e4368bdcb30a48080e
parent4a920d3b3d47d357a30398e4a38af29480b65872
ARM: OMAP2+: hwmod: add _find_mpu_rt_port()

Most IP blocks on the OMAP SoC have an interconnect link that is
intended to be used by the MPU to communicate with the IP block.
Several parts of the hwmod code need to be able to identify this link.
Currently, this is open-coded.  However, future patches will change
the way that interconnect links are represented and will make
identifying the link more complex.  So to avoid code duplication, this
patch centralizes the MPU port link identification code into a new
function, _find_mpu_rt_port().

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod.c