diff options
author | Alex Elder <elder@linaro.org> | 2020-05-04 19:58:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-04 20:26:55 +0200 |
commit | 3e313c3f5a36c7e8e6593ed2f6818795210347eb (patch) | |
tree | 1a0bab53bed610ccb1e1c68c7faa323218cb9643 /drivers/net/ipa/ipa_data-sdm845.c | |
parent | net: ipa: redefine struct ipa_mem_data (diff) | |
download | linux-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.c | 2 |
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. */ |