Commit 23513c3b authored by Stepan Moskovchenko's avatar Stepan Moskovchenko Committed by Daniel Walker

msm: iommu: Increase maximum MID size to 5 bits

On msm8x60, the MID field on the AXI connection to the
IOMMU can be up to five bits wide. Thus, allow the IOMMU
context platform data to map up to 32 MIDs.
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: default avatarDaniel Walker <dwalker@codeaurora.org>
parent 70cc2c00
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* be present. These mappings are typically determined at design time and are * be present. These mappings are typically determined at design time and are
* not expected to change at run time. * not expected to change at run time.
*/ */
#define MAX_NUM_MIDS 16 #define MAX_NUM_MIDS 32
/** /**
* struct msm_iommu_dev - a single IOMMU hardware instance * struct msm_iommu_dev - a single IOMMU hardware instance
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment