OSDN Git Service

ARM: OMAP2+: hwmod: provide a function to return the address space of the MPU RT
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 01:10:05 +0000 (19:10 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:03:11 +0000 (04:03 -0600)
commitc9aafd23d6c1b466f37f554e9916886e7d4645d0
treeb92502f2bc50c374309f1fc9d0285e3546e5d9c0
parent747834ab83475f47878c68954d913e27124e4391
ARM: OMAP2+: hwmod: provide a function to return the address space of the MPU RT

A subsequent patch will need to know the struct omap_hwmod_addr_space
record corresponding to the module's register target, used by the MPU.
So, convert _find_mpu_rt_base() into _find_mpu_rt_addr_space().  Then
modify its sole current user, _populate_mpu_rt_base(), to extract the
MPU RT base address itself from the struct omap_hwmod_addr_space record.

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