diff options
author | Alex Elder <elder@linaro.org> | 2020-05-04 20:58:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-04 21:26:55 +0300 |
commit | 3e313c3f5a36c7e8e6593ed2f6818795210347eb (patch) | |
tree | 1a0bab53bed610ccb1e1c68c7faa323218cb9643 /drivers/net/ipa/ipa_data-sc7180.c | |
parent | 3128aae8c439af18048167e3cd5e31680cd190b9 (diff) | |
download | linux-3e313c3f5a36c7e8e6593ed2f6818795210347eb.tar.xz |
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-sc7180.c')
-rw-r--r-- | drivers/net/ipa/ipa_data-sc7180.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_data-sc7180.c b/drivers/net/ipa/ipa_data-sc7180.c index f97e7e4e61c1..e9007d151c68 100644 --- a/drivers/net/ipa/ipa_data-sc7180.c +++ b/drivers/net/ipa/ipa_data-sc7180.c @@ -299,6 +299,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 = 0x146a8000, + .imem_size = 0x00002000, }; /* Configuration data for the SC7180 SoC. */ |