Re: [RFC][PATCH 3/3]ARM:OMAP4 iommu:provide build support for omap4 iommu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "ext Kanigeri, Hari" <h-kanigeri2@xxxxxx>
Subject: [RFC][PATCH 3/3]ARM:OMAP4 iommu:provide build support for omap4 iommu
Date: Fri, 24 Jul 2009 19:22:56 +0200

> 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-kanigeri2@xxxxxx>
> ---
>  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

Is the above dependecy necessary?

> +	default y
> +	help
> +	  Select this option if you want to use IOMMU support for the
> +	  Camera in OMAP3, and for Ducati processor in OMAP4.

So here, it goes visible because iommu will be an independent character device, right?


>  choice
>          prompt "System timer"
>  	default OMAP_MPU_TIMER
> -- 
> 1.5.4.3
> 
> 
> Thank you,
> Best regards,
> Hari
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux