summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/common.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2012-02-02 19:33:55 +0530
committerTony Lindgren <tony@atomide.com>2012-02-14 11:42:42 -0800
commit2ec1fc4e169acc0b8d6733ff028fd52e766773d9 (patch)
tree62c8f98055416777963a1465227e0df434db1b9e /arch/arm/plat-omap/common.c
parent1e056dddabc1b7a909d1f992fefb1d5d5bc8ff0d (diff)
downloadblackbird-op-linux-2ec1fc4e169acc0b8d6733ff028fd52e766773d9.tar.gz
blackbird-op-linux-2ec1fc4e169acc0b8d6733ff028fd52e766773d9.zip
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>
Diffstat (limited to 'arch/arm/plat-omap/common.c')
-rw-r--r--arch/arm/plat-omap/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c
index 06383b51e655..4de7d1e79e73 100644
--- a/arch/arm/plat-omap/common.c
+++ b/arch/arm/plat-omap/common.c
@@ -69,6 +69,7 @@ void __init omap_reserve(void)
omap_vram_reserve_sdram_memblock();
omap_dsp_reserve_sdram_memblock();
omap_secure_ram_reserve_memblock();
+ omap_barrier_reserve_memblock();
}
void __init omap_init_consistent_dma_size(void)
OpenPOWER on IntegriCloud