remoteproc: reset the memory pool and memory maps v3.1-rc4-rpmsg-tiler
authorSuman Anna <s-anna@ti.com>
Mon, 1 Aug 2011 22:59:38 +0000 (17:59 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Thu, 1 Sep 2011 19:02:09 +0000 (14:02 -0500)
commit570f2370c0813940ff63638d6303c286ddcb5bec
treec66aabdd7f7ec33ce49fb0bc27140a58d9bd9ae6
parent710bd666d474077b94ddf0361d3f53ddb2dde0f1
remoteproc: reset the memory pool and memory maps

Reloading of the Ducati binary either during recovery or
during modules reinstall requires that the prior memory
pool and maps information be reset, to avoid running into
out of pool memory and duplicate memory entry storage
failures. These are reset therefore when the processor is
being stopped.

Change-Id: If9923eecf99863c5b529a96efc20481fe32ca549
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
drivers/remoteproc/remoteproc.c