]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: hwmod: Don't call _init_mpu_rt_base if no sysc
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 19 Mar 2013 11:30:31 +0000 (17:00 +0530)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:21:22 +0000 (00:21 +0200)
commitf3e76087c1fd32b2c02525bde79ff614d69fe211
tree606f6eff1824dafc2214244310659ca418c05a5c
parentd103a15fad31779698c34ea9d954265957fb0488
ARM: OMAP2+: hwmod: Don't call _init_mpu_rt_base if no sysc

OMAP hwmod layer does the reset of the IPs in early code so that
we have SOC in sane state. To do the soft-reset, it needs to ioremap()
the IP address space to be able to write to sysconfig registers.

But there are few hwmod which doesn't have sysconfig registers and hence
no need to ioremap() them in early init code.

Prevent calling the _init_mpu_rt_base() conditional based on sysc
availability.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/mach-omap2/omap_hwmod.c