OMAP4: hwmod: Replace module & device offsets by absolute clkctrl address
authorBenoit Cousson <b-cousson@ti.com>
Thu, 20 May 2010 18:31:08 +0000 (12:31 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 20 May 2010 18:31:08 +0000 (12:31 -0600)
commit53934aa74d49daa7c31c38028fd05c99475489d6
tree076253fbd3022a38e55ec9abb2db976b6d67d781
parent3587aeb067a71b26aa0349daf061572a17e6dcba
OMAP4: hwmod: Replace module & device offsets by absolute clkctrl address

Accessing the clkctrl register using offset of module & device is hard
to do in OMAP4 due to the way the CM1, CM2, PRM and PRCM_MPU are located
in the address space. There is no common base address anymore for all the
CM registers.
The easiest way to handle that on OMAP4 is to provide the absolute address
of the XXX_CLKCTRL register per hwmod.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
arch/arm/plat-omap/include/plat/omap_hwmod.h