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, 29 Aug 2011 23:15:50 +0000 (18:15 -0500)
commit3739ed4d2e644bec43ee97cbcc92a7207a451d68
tree955e007fce71a801b11f08be07bfc5f4c8063fc5
parent5b3374bacfdc7b935549cd2b86c3cf58a6e9e4fc
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