This patch provides build support to build OMAP4
IOMMU module. This also adds the changes to Kconfig
file to make iommu option visible in menuconfig.

Signed-off-by: Hari Kanigeri <h-kanige...@ti.com>
---
 arch/arm/mach-omap2/Makefile |    2 +-
 arch/arm/plat-omap/Kconfig   |    7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 735bae5..59e0865 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -41,7 +41,7 @@ obj-$(CONFIG_ARCH_OMAP3)              += clock34xx.o
 
 iommu-y                                        += iommu2.o
 iommu-$(CONFIG_ARCH_OMAP3)             += omap3-iommu.o
-
+iommu-$(CONFIG_ARCH_OMAP4)              += omap4-iommu.o
 obj-$(CONFIG_OMAP_IOMMU)               += $(iommu-y)
 
 # Specific board support
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index efe85d0..50aaefb 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -118,8 +118,11 @@ config OMAP_MBOX_FWK
          DSP, IVA1.0 and IVA2 in OMAP1/2/3.
 
 config OMAP_IOMMU
-       tristate
-
+       tristate "iommu"
+       default y
+       help
+         Select this option if you want to use IOMMU support for the
+         Camera in OMAP3, and for Ducati processor in OMAP4.
 choice
         prompt "System timer"
        default OMAP_MPU_TIMER
-- 
1.5.4.3

Thank you,
Best regards,
Hari

Attachment: 0003-ARM-OMAP4-iommu-provide-build-support-for-omap4-iomm.patch
Description: 0003-ARM-OMAP4-iommu-provide-build-support-for-omap4-iomm.patch

Reply via email to