remoteproc: fix tracing with the new memory map changes rpmsg
authorSuman Anna <s-anna@ti.com>
Tue, 2 Aug 2011 02:14:00 +0000 (21:14 -0500)
committerCris Jansson <cjansson@ti.com>
Mon, 22 Aug 2011 23:15:12 +0000 (18:15 -0500)
commitb806d3e1d13ad5fc9572f1c7560cbdcdbfa59814
treeef8580b28adda719c704c20cba4f76c6d5f33522
parentda4846881d37667d2cee594c01028c1c13ae0866
remoteproc: fix tracing with the new memory map changes

The remote processor tracing is non-functional with the new
memory map changes, due to incorrect physical address. The
rproc_da_to_pa information is not available until all the
RSC_DEVMEM and RSC_CARVEOUT resources are handled, and as
such the trace buffers cannot be setup until the very end.

Change-Id: I728345b5ed138a0b6ab492d3724a2fa4eeab3a0b
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/remoteproc/remoteproc.c