remoteproc: perserve resource table data
authorOhad Ben-Cohen <ohad@wizery.com>
Sun, 7 Apr 2013 11:06:07 +0000 (14:06 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Sun, 7 Apr 2013 11:06:07 +0000 (14:06 +0300)
commita2b950ac7b1e6442919ee9e79c4963e134698869
tree7ecec79d66796b06db5c9d79144d17e1bc496bad
parentba7290e01663787fcfc2bedaff6232359d4ff248
remoteproc: perserve resource table data

Copy resource table from first to second firmware loading.
After firmware is loaded to memory, update the vdevs resource
pointer to the resource table kept in device memory.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Acked-by: Ido Yariv <ido@wizery.com>
[rebase, terminology and style changes]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/Kconfig
drivers/remoteproc/remoteproc_core.c
include/linux/remoteproc.h