From patchwork Tue Aug 4 22:32:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kanigeri, Hari" X-Patchwork-Id: 39248 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 n74MWV0D004623 for ; Tue, 4 Aug 2009 22:32:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932508AbZHDWc0 (ORCPT ); Tue, 4 Aug 2009 18:32:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933185AbZHDWc0 (ORCPT ); Tue, 4 Aug 2009 18:32:26 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:38166 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932508AbZHDWcY (ORCPT ); Tue, 4 Aug 2009 18:32:24 -0400 Received: from dlep36.itg.ti.com ([157.170.170.91]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id n74MWEg6026882; Tue, 4 Aug 2009 17:32:19 -0500 Received: from dlep20.itg.ti.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id n74MWEGu029998; Tue, 4 Aug 2009 17:32:14 -0500 (CDT) Received: from dlee74.ent.ti.com (localhost [127.0.0.1]) by dlep20.itg.ti.com (8.12.11/8.12.11) with ESMTP id n74MWEaZ014439; Tue, 4 Aug 2009 17:32:14 -0500 (CDT) Received: from dlee03.ent.ti.com ([157.170.170.18]) by dlee74.ent.ti.com ([157.170.170.8]) with mapi; Tue, 4 Aug 2009 17:32:14 -0500 From: "Kanigeri, Hari" To: "linux-omap@vger.kernel.org" , "tony@atomide.com" CC: "linux@arm.linux.org.uk" , Hiroshi DOYU , "Shilimkar, Santosh" Date: Tue, 4 Aug 2009 17:32:12 -0500 Subject: [PATCH v1 3/3] ARM:OMAP4 iommu:provide build support for omap4 iommu Thread-Topic: [PATCH v1 3/3] ARM:OMAP4 iommu:provide build support for omap4 iommu Thread-Index: AcoVU2lClYx6p6BFSO21R63IjQ5AMA== Message-ID: <8F7AF80515AF0D4D93307E594F3CB40E3ABDBAC2@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 | 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