Commit e82fdc4d028242b969eb7c70d039b4c1e58333f7

Authored by Peng Fan
Committed by Ji Luo
1 parent dabe2a1bfc

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>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Change-Id: I5861e6068366101ed3d883fe049022975a869023

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

include/linux/remoteproc.h
... ... @@ -315,6 +315,7 @@
315 315 /**
316 316 * struct rproc_mem_entry - memory entry descriptor
317 317 * @va: virtual address
  318 + * @is_iomem: io memory
318 319 * @dma: dma address
319 320 * @len: length, in bytes
320 321 * @da: device address
... ... @@ -329,6 +330,7 @@
329 330 */
330 331 struct rproc_mem_entry {
331 332 void *va;
  333 + bool is_iomem;
332 334 dma_addr_t dma;
333 335 size_t len;
334 336 u32 da;