diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-01-20 10:13:33 -0500 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-01-30 08:06:15 -0500 |
commit | 477ab7a19cec8409e4e2dd10e7348e4cac3c06e5 (patch) | |
tree | 3286e1699464156a8411ae110b443efbfcc4c1e4 | |
parent | e5144c9375851948f50e13db80c3150e3a7521b8 (diff) |
iommu: Make more drivers depend on COMPILE_TEST
For easier compile testing of these iommu drivers.
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
-rw-r--r-- | drivers/iommu/Kconfig | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 5189cc12c5a3..db98eb706466 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig | |||
@@ -23,7 +23,8 @@ config OF_IOMMU | |||
23 | 23 | ||
24 | config FSL_PAMU | 24 | config FSL_PAMU |
25 | bool "Freescale IOMMU support" | 25 | bool "Freescale IOMMU support" |
26 | depends on PPC_E500MC | 26 | depends on PPC32 |
27 | depends on PPC_E500MC || COMPILE_TEST | ||
27 | select IOMMU_API | 28 | select IOMMU_API |
28 | select GENERIC_ALLOCATOR | 29 | select GENERIC_ALLOCATOR |
29 | help | 30 | help |
@@ -34,7 +35,8 @@ config FSL_PAMU | |||
34 | # MSM IOMMU support | 35 | # MSM IOMMU support |
35 | config MSM_IOMMU | 36 | config MSM_IOMMU |
36 | bool "MSM IOMMU Support" | 37 | bool "MSM IOMMU Support" |
37 | depends on ARCH_MSM8X60 || ARCH_MSM8960 | 38 | depends on ARM |
39 | depends on ARCH_MSM8X60 || ARCH_MSM8960 || COMPILE_TEST | ||
38 | select IOMMU_API | 40 | select IOMMU_API |
39 | help | 41 | help |
40 | Support for the IOMMUs found on certain Qualcomm SOCs. | 42 | Support for the IOMMUs found on certain Qualcomm SOCs. |
@@ -145,7 +147,8 @@ config IRQ_REMAP | |||
145 | # OMAP IOMMU support | 147 | # OMAP IOMMU support |
146 | config OMAP_IOMMU | 148 | config OMAP_IOMMU |
147 | bool "OMAP IOMMU Support" | 149 | bool "OMAP IOMMU Support" |
148 | depends on ARCH_OMAP2PLUS && MMU | 150 | depends on ARM && MMU |
151 | depends on ARCH_OMAP2PLUS || COMPILE_TEST | ||
149 | select IOMMU_API | 152 | select IOMMU_API |
150 | 153 | ||
151 | config OMAP_IOMMU_DEBUG | 154 | config OMAP_IOMMU_DEBUG |