omap: add ipu carveout for remoteproc functionality
authorSuman Anna <s-anna@ti.com>
Fri, 22 Jul 2011 17:45:21 +0000 (12:45 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Thu, 1 Sep 2011 19:02:08 +0000 (14:02 -0500)
commit07e46096e2eb93f91c3791e80662b7ae16928b45
tree923fb7b13cad150abe7b846da256d4a5e53adebb
parent5ab1f4f349f1922264e43cac2c0a59388870d775
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