FROMGIT: remoteproc: introduce is_iomem to rproc_mem_entry
Introduce is_iomem to indicate this piece memory is iomem or not.
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/1615029865-23312-4-git-send-email-peng.fan@oss.nxp.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Bug: 159736148
(cherry picked from commit 2cfc056ef2
https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git for-next)
Link: https://lore.kernel.org/r/1615029865-23312-4-git-send-email-peng.fan@oss.nxp.com
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
Change-Id: I3e78b7cdf4ca9d76d7465dd03f09764bdd0404dd
This commit is contained in:
parent
f6fdbe9edc
commit
775d6f9faf
1 changed files with 2 additions and 0 deletions
|
|
@ -315,6 +315,7 @@ struct rproc;
|
|||
/**
|
||||
* struct rproc_mem_entry - memory entry descriptor
|
||||
* @va: virtual address
|
||||
* @is_iomem: io memory
|
||||
* @dma: dma address
|
||||
* @len: length, in bytes
|
||||
* @da: device address
|
||||
|
|
@ -329,6 +330,7 @@ struct rproc;
|
|||
*/
|
||||
struct rproc_mem_entry {
|
||||
void *va;
|
||||
bool is_iomem;
|
||||
dma_addr_t dma;
|
||||
size_t len;
|
||||
u32 da;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue