Skip to content

Commit

Permalink
msm: iommu: Increase maximum MID size to 5 bits
Browse files Browse the repository at this point in the history
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: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
  • Loading branch information
Stepan Moskovchenko authored and Daniel Walker committed Nov 30, 2010
1 parent 70cc2c0 commit 23513c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/include/mach/iommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* be present. These mappings are typically determined at design time and are
* 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
Expand Down

0 comments on commit 23513c3

Please sign in to comment.