omap: add ipu carveout for remoteproc functionality
authorSuman Anna <s-anna@ti.com>
Fri, 22 Jul 2011 17:45:21 +0000 (12:45 -0500)
committerCris Jansson <cjansson@ti.com>
Mon, 22 Aug 2011 23:15:08 +0000 (18:15 -0500)
commit6ce1a6bb88fba56babcdf22e3ff3ac3b9a44d03a
tree2783ec556b02a08b1a9d18aaab59ac0ce8ae9713
parent4dcfa17dd5291fdca0172430bde35c2e38b08046
omap: add ipu carveout for remoteproc functionality

DDR memory is carved-out for remoteproc functionality for ipu.
This patch reserves two types of carveout memory - one that can
be allocated dynamically, and another that leverages a fixed
static range. The dynamic pool will be used for allocating memory
for firmware sections that have no physical memory allocated. The
static pool will be used to validate the firmware sections with
fixed physical addresses.

This patch also replaces the previous usage of omap_dsp_get_mempool_*
functions with the corresponding omap_ipu_get_mempool_* functions
for correct functionality.

Change-Id: Ib07f4c6c8c96da1b493e91af5d91bed1b49aedee
Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/mach-omap2/remoteproc.c
arch/arm/plat-omap/Kconfig
arch/arm/plat-omap/common.c
arch/arm/plat-omap/devices.c
arch/arm/plat-omap/include/plat/remoteproc.h
arch/arm/plat-omap/omap_rpmsg.c