remoteproc: reset the memory pool and memory maps v3.1-rc2_rpmsg
authorSuman Anna <s-anna@ti.com>
Mon, 1 Aug 2011 22:59:38 +0000 (17:59 -0500)
committerCris Jansson <cjansson@ti.com>
Mon, 29 Aug 2011 23:45:07 +0000 (18:45 -0500)
commitc3fa1bfff0b1026ff121faf00663bc7bd6cabd4c
tree6817ab6458ba5ceec4b48c3b2f2837a9c32e0934
parent975a8f9c4741ceae7ef9e67103c53b7a3894e1eb
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