diff options
author | Stepan Moskovchenko <stepanm@codeaurora.org> | 2011-02-11 15:28:16 -0500 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2011-02-14 16:42:48 -0500 |
commit | 24f6173c44a3f921f4fc4b8afc1e3980cbba6528 (patch) | |
tree | 82a8de0038b5ad4174167a648504ef850a6b4f69 /arch/arm/mach-msm | |
parent | d056fca32354dd990ffbd90fd1da10eaec72aa87 (diff) |
msm: iommu: Create a Kconfig item for the IOMMU driver
Break the IOMMU driver out as a Kconfig item. Initially it
was decided to always build this in for 8x60, but this
driver is not strictly necessary and should be optionally
selectable.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/Kconfig | 13 | ||||
-rw-r--r-- | arch/arm/mach-msm/Makefile | 3 |
2 files changed, 14 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig index df9d74eaa47..32b9d1f8493 100644 --- a/arch/arm/mach-msm/Kconfig +++ b/arch/arm/mach-msm/Kconfig | |||
@@ -45,7 +45,6 @@ config ARCH_MSM8X60 | |||
45 | select CPU_V7 | 45 | select CPU_V7 |
46 | select MSM_V2_TLMM | 46 | select MSM_V2_TLMM |
47 | select MSM_GPIOMUX | 47 | select MSM_GPIOMUX |
48 | select IOMMU_API | ||
49 | select MSM_SCM if SMP | 48 | select MSM_SCM if SMP |
50 | 49 | ||
51 | config ARCH_MSM8960 | 50 | config ARCH_MSM8960 |
@@ -149,6 +148,18 @@ config MACH_MSM8960_RUMI3 | |||
149 | 148 | ||
150 | endmenu | 149 | endmenu |
151 | 150 | ||
151 | config MSM_IOMMU | ||
152 | bool "MSM IOMMU Support" | ||
153 | depends on ARCH_MSM8X60 | ||
154 | select IOMMU_API | ||
155 | default n | ||
156 | help | ||
157 | Support for the IOMMUs found on certain Qualcomm SOCs. | ||
158 | These IOMMUs allow virtualization of the address space used by most | ||
159 | cores within the multimedia subsystem. | ||
160 | |||
161 | If unsure, say N here. | ||
162 | |||
152 | config IOMMU_PGTABLES_L2 | 163 | config IOMMU_PGTABLES_L2 |
153 | def_bool y | 164 | def_bool y |
154 | depends on ARCH_MSM8X60 && MMU && SMP && CPU_DCACHE_DISABLE=n | 165 | depends on ARCH_MSM8X60 && MMU && SMP && CPU_DCACHE_DISABLE=n |
diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile index ea8c74f56ea..81f4811a7f1 100644 --- a/arch/arm/mach-msm/Makefile +++ b/arch/arm/mach-msm/Makefile | |||
@@ -4,11 +4,12 @@ obj-$(CONFIG_DEBUG_FS) += clock-debug.o | |||
4 | endif | 4 | endif |
5 | 5 | ||
6 | obj-$(CONFIG_MSM_VIC) += irq-vic.o | 6 | obj-$(CONFIG_MSM_VIC) += irq-vic.o |
7 | obj-$(CONFIG_MSM_IOMMU) += iommu.o iommu_dev.o | ||
7 | 8 | ||
8 | obj-$(CONFIG_ARCH_MSM7X00A) += dma.o irq.o acpuclock-arm11.o | 9 | obj-$(CONFIG_ARCH_MSM7X00A) += dma.o irq.o acpuclock-arm11.o |
9 | obj-$(CONFIG_ARCH_MSM7X30) += dma.o | 10 | obj-$(CONFIG_ARCH_MSM7X30) += dma.o |
10 | obj-$(CONFIG_ARCH_QSD8X50) += dma.o sirc.o | 11 | obj-$(CONFIG_ARCH_QSD8X50) += dma.o sirc.o |
11 | obj-$(CONFIG_ARCH_MSM8X60) += clock-dummy.o iommu.o iommu_dev.o devices-msm8x60-iommu.o | 12 | obj-$(CONFIG_ARCH_MSM8X60) += clock-dummy.o devices-msm8x60-iommu.o |
12 | obj-$(CONFIG_ARCH_MSM8960) += clock-dummy.o | 13 | obj-$(CONFIG_ARCH_MSM8960) += clock-dummy.o |
13 | 14 | ||
14 | obj-$(CONFIG_MSM_PROC_COMM) += proc_comm.o clock-pcom.o vreg.o | 15 | obj-$(CONFIG_MSM_PROC_COMM) += proc_comm.o clock-pcom.o vreg.o |