summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipa/ipa_data-sdm845.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2020-05-04 19:58:58 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-04 20:26:55 +0200
commit3e313c3f5a36c7e8e6593ed2f6818795210347eb (patch)
tree1a0bab53bed610ccb1e1c68c7faa323218cb9643 /drivers/net/ipa/ipa_data-sdm845.c
parentnet: ipa: redefine struct ipa_mem_data (diff)
downloadlinux-3e313c3f5a36c7e8e6593ed2f6818795210347eb.tar.xz
linux-3e313c3f5a36c7e8e6593ed2f6818795210347eb.zip
net: ipa: define IMEM memory region for IPA
Define a region of IMEM memory available for use by IPA in the platform configuration data. Initialize it from ipa_mem_init(). The memory must be mapped for access through an SMMU. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/ipa_data-sdm845.c')
-rw-r--r--drivers/net/ipa/ipa_data-sdm845.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_data-sdm845.c b/drivers/net/ipa/ipa_data-sdm845.c
index c55507e94559..c0e207085550 100644
--- a/drivers/net/ipa/ipa_data-sdm845.c
+++ b/drivers/net/ipa/ipa_data-sdm845.c
@@ -321,6 +321,8 @@ static const struct ipa_mem ipa_mem_local_data[] = {
static struct ipa_mem_data ipa_mem_data = {
.local_count = ARRAY_SIZE(ipa_mem_local_data),
.local = ipa_mem_local_data,
+ .imem_addr = 0x146bd000,
+ .imem_size = 0x00002000,
};
/* Configuration data for the SDM845 SoC. */