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>
This commit is contained in:
parent
bc403b4dfc
commit
2cfc056ef2
|
@ -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…
Reference in New Issue