[RFC 17/18] remoteproc: stm32: Add the pa to da ops.
From: Arnaud Pouliquen
Date: Thu Apr 16 2020 - 12:15:08 EST
Add pa_to_da ops to translate the physical address into
device address.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@xxxxxx>
Change-Id: Ie1aa26769635d6d4c4581486700c4061f0f99ff1
---
drivers/remoteproc/stm32_rproc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c
index a18f88044111..1dd4c0f9c423 100644
--- a/drivers/remoteproc/stm32_rproc.c
+++ b/drivers/remoteproc/stm32_rproc.c
@@ -507,6 +507,7 @@ static struct rproc_ops st_rproc_ops = {
.find_loaded_rsc_table = rproc_elf_find_loaded_rsc_table,
.sanity_check = rproc_elf_sanity_check,
.get_boot_addr = rproc_elf_get_boot_addr,
+ .pa_to_da = stm32_rproc_pa_to_da,
};
static const struct of_device_id stm32_rproc_match[] = {
--
2.17.1