diff options
author | Suman Anna <s-anna@ti.com> | 2012-02-29 23:06:30 -0600 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:57:08 +0200 |
commit | 6ba5bdc9d36b5215823e574e85d70867376a94c5 (patch) | |
tree | d48e0cd67eb93738498e367e9cbbac8a66a3e985 /drivers/remoteproc | |
parent | 8eb3fcc5dc4d741a7437bf0554fa20f7b0c92cb7 (diff) | |
download | kernel_samsung_tuna-6ba5bdc9d36b5215823e574e85d70867376a94c5.tar.gz kernel_samsung_tuna-6ba5bdc9d36b5215823e574e85d70867376a94c5.tar.bz2 kernel_samsung_tuna-6ba5bdc9d36b5215823e574e85d70867376a94c5.zip |
remoteproc: ignore static pool check for dsp IO buffers
The dsp remoteproc is using the same pool of 1D buffer
region as the ducati. This cannot be configured in the
static pool of dsp as this memory region is co-located
only with ducati memory, but not dsp. So, ignore the
valid memory check to proceed with the loading & booting
for dsp.
Change-Id: Ia92a2b7329cd0b9431afad4dde8c83396d861ba2
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Jesse Villarreal <jesse.villarreal@ti.com>
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r-- | drivers/remoteproc/remoteproc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/remoteproc/remoteproc.c b/drivers/remoteproc/remoteproc.c index c8be0ee25c0..92c6bbbde48 100644 --- a/drivers/remoteproc/remoteproc.c +++ b/drivers/remoteproc/remoteproc.c @@ -893,7 +893,13 @@ static int rproc_handle_resources(struct rproc *rproc, struct fw_resource *rsc, rsc->pa = pa; } else { ret = rproc_check_poolmem(rproc, rsc->len, pa); - if (ret) { + /* + * ignore the error for DSP buffers as they can + * not be assigned together with rest of dsp + * pool memory + */ + if (ret && + strcmp(rsc->name, "DSP_MEM_IOBUFS")) { dev_err(dev, "static memory for %s " "doesn't belong to poolmem\n", rsc->name); |