diff options
author | Alex Elder <elder@linaro.org> | 2020-05-04 12:58:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-04 11:26:55 -0700 |
commit | 3e313c3f5a36c7e8e6593ed2f6818795210347eb (patch) | |
tree | 1a0bab53bed610ccb1e1c68c7faa323218cb9643 /drivers/net/ipa/ipa_data.h | |
parent | 3128aae8c439af18048167e3cd5e31680cd190b9 (diff) | |
download | lwn-3e313c3f5a36c7e8e6593ed2f6818795210347eb.tar.gz lwn-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.h')
-rw-r--r-- | drivers/net/ipa/ipa_data.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/ipa/ipa_data.h b/drivers/net/ipa/ipa_data.h index 51d8e5a6f23a..69957af56ccd 100644 --- a/drivers/net/ipa/ipa_data.h +++ b/drivers/net/ipa/ipa_data.h @@ -245,13 +245,17 @@ struct ipa_resource_data { }; /** - * struct ipa_mem - IPA-local memory region description + * struct ipa_mem - description of IPA memory regions * @local_count: number of regions defined in the local[] array * @local: array of IPA-local memory region descriptors + * @imem_addr: physical address of IPA region within IMEM + * @imem_size: size in bytes of IPA IMEM region */ struct ipa_mem_data { u32 local_count; const struct ipa_mem *local; + u32 imem_addr; + u32 imem_size; }; /** |