msm: iommu: Increase maximum MID size to 5 bits
authorStepan Moskovchenko <stepanm@codeaurora.org>
Sat, 13 Nov 2010 03:29:47 +0000 (19:29 -0800)
committerDaniel Walker <dwalker@codeaurora.org>
Tue, 30 Nov 2010 21:53:08 +0000 (13:53 -0800)
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>
arch/arm/mach-msm/include/mach/iommu.h

index 218ef5732a24162217c56c99263655bbeca85d4b..17fc79fc8bc2c33101babd0f0d164f2436a47bb2 100644 (file)
@@ -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