This should ease finding similarities with different platforms, with the intention of solving problems once in a generic framework which everyone can use. Compile-tested for MSM8X60. Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Acked-by: David Brown <davidb@codeaurora.org> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>tirimbino
parent
ab493a0f0f
commit
b10f127e1a
@ -1,3 +1,19 @@ |
||||
# IOMMU_API always gets selected by whoever wants it. |
||||
config IOMMU_API |
||||
bool |
||||
|
||||
# MSM IOMMU support |
||||
config MSM_IOMMU |
||||
bool "MSM IOMMU Support" |
||||
depends on ARCH_MSM8X60 || ARCH_MSM8960 |
||||
select IOMMU_API |
||||
help |
||||
Support for the IOMMUs found on certain Qualcomm SOCs. |
||||
These IOMMUs allow virtualization of the address space used by most |
||||
cores within the multimedia subsystem. |
||||
|
||||
If unsure, say N here. |
||||
|
||||
config IOMMU_PGTABLES_L2 |
||||
def_bool y |
||||
depends on MSM_IOMMU && MMU && SMP && CPU_DCACHE_DISABLE=n |
||||
|
@ -1 +1,2 @@ |
||||
obj-$(CONFIG_IOMMU_API) += iommu.o
|
||||
obj-$(CONFIG_MSM_IOMMU) += msm_iommu.o msm_iommu_dev.o
|
||||
|
Loading…
Reference in new issue