ARM: OMAP4: Move the barrier memboclk_steal() as part of reserve callback
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 2 Feb 2012 14:03:55 +0000 (19:33 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 14 Feb 2012 19:42:42 +0000 (11:42 -0800)
commit2ec1fc4e169acc0b8d6733ff028fd52e766773d9
tree62c8f98055416777963a1465227e0df434db1b9e
parent1e056dddabc1b7a909d1f992fefb1d5d5bc8ff0d
ARM: OMAP4: Move the barrier memboclk_steal() as part of reserve callback

arm_memblock_steal() is not suppose to be used outside ->reserve callback.
OMAP barrier errata code was using it outside reserve callback and hence
it was broken.

Move the allocation as part of ->reserve callback to fix the it.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap4-common.c
arch/arm/plat-omap/common.c
arch/arm/plat-omap/include/plat/omap-secure.h