ARM: OMAP4: Fix the init code to have OMAP4460 errata available in DT build
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 25 Feb 2013 08:42:58 +0000 (14:12 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 28 Mar 2013 07:26:00 +0000 (12:56 +0530)
commitfd1c07861491abf5e0e9ca06799bb5c48f99b64d
tree36cfa3a1ca89b5fcf02c6cd009b3da900a2d97f0
parentd5336a5a0b4602b38c48d76e46269bf1f357d492
ARM: OMAP4: Fix the init code to have OMAP4460 errata available in DT build

OMAP4460 ROM code bug needs the GIC distributor and local timer
bases to be available for the bug work around. In current code, dt
case these bases are not initialized leading to failure of the
errata work-around.

Fix it by extracting the bases from dt blob and populating them.

Reported-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/omap4-common.c