Skip to content

Commit

Permalink
OMAP: iommu: make iva2 iommu selectable
Browse files Browse the repository at this point in the history
It seems dsp-link will do this, and tidspbridge too at some point, but
right now it's not possible to select CONFIG_MPU_BRIDGE_IOMMU.

Cc: Fernando Guzman Lugo <fernando.lugo@ti.com>
Cc: Yogesh Marathe <yogesh_marathe@ti.com>
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
  • Loading branch information
Felipe Contreras authored and Hari Kanigeri committed Dec 15, 2010
1 parent c7f4ab2 commit 1cd25df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/omap-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static struct iommu_device omap3_devices[] = {
.da_end = 0xFFFFF000,
},
},
#if defined(CONFIG_MPU_BRIDGE_IOMMU)
#if defined(CONFIG_OMAP_IOMMU_IVA2)
{
.base = 0x5d000000,
.irq = 28,
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/plat-omap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ config OMAP_IOMMU_DEBUG

Say N unless you know you need this.

config OMAP_IOMMU_IVA2
bool

choice
prompt "System timer"
default OMAP_32K_TIMER if !ARCH_OMAP15XX
Expand Down

0 comments on commit 1cd25df

Please sign in to comment.