From patchwork Fri Jul 24 17:22:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kanigeri, Hari" X-Patchwork-Id: 37157 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6OHNauO000583 for ; Fri, 24 Jul 2009 17:23:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752349AbZGXRXL (ORCPT ); Fri, 24 Jul 2009 13:23:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752567AbZGXRXL (ORCPT ); Fri, 24 Jul 2009 13:23:11 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:56717 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752356AbZGXRXK (ORCPT ); Fri, 24 Jul 2009 13:23:10 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id n6OHMwiE030591; Fri, 24 Jul 2009 12:23:03 -0500 Received: from dlep20.itg.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n6OHMv4X022653; Fri, 24 Jul 2009 12:22:57 -0500 (CDT) Received: from dlee73.ent.ti.com (localhost [127.0.0.1]) by dlep20.itg.ti.com (8.12.11/8.12.11) with ESMTP id n6OHMvro014681; Fri, 24 Jul 2009 12:22:57 -0500 (CDT) Received: from dlee03.ent.ti.com ([157.170.170.18]) by dlee73.ent.ti.com ([157.170.170.88]) with mapi; Fri, 24 Jul 2009 12:22:57 -0500 From: "Kanigeri, Hari" To: "tony@atomide.com" , Hiroshi DOYU CC: "linux-omap@vger.kernel.org" , "Gupta, Ramesh" , "rmk@arm.linux.org.uk" , "Pasam, Vijay" Date: Fri, 24 Jul 2009 12:22:56 -0500 Subject: [RFC][PATCH 3/3]ARM:OMAP4 iommu:provide build support for omap4 iommu Thread-Topic: [RFC][PATCH 3/3]ARM:OMAP4 iommu:provide build support for omap4 iommu Thread-Index: AcoMg2I2zm4+j4WfSvysna4QhcnpIg== Message-ID: <8F7AF80515AF0D4D93307E594F3CB40E3A8CAD46@dlee03.ent.ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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 --- arch/arm/mach-omap2/Makefile | 2 +- arch/arm/plat-omap/Kconfig | 8 ++++++-- 2 files changed, 7 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..00d7a1e 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig @@ -118,8 +118,12 @@ config OMAP_MBOX_FWK DSP, IVA1.0 and IVA2 in OMAP1/2/3. config OMAP_IOMMU - tristate - + tristate "iommu" + depends on ARCH_OMAP + 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