提交 1cd25df4 编写于 作者: F Felipe Contreras 提交者: Hari Kanigeri

OMAP: iommu: make iva2 iommu selectable

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: NFelipe Contreras <felipe.contreras@nokia.com>
上级 c7f4ab26
...@@ -37,7 +37,7 @@ static struct iommu_device omap3_devices[] = { ...@@ -37,7 +37,7 @@ static struct iommu_device omap3_devices[] = {
.da_end = 0xFFFFF000, .da_end = 0xFFFFF000,
}, },
}, },
#if defined(CONFIG_MPU_BRIDGE_IOMMU) #if defined(CONFIG_OMAP_IOMMU_IVA2)
{ {
.base = 0x5d000000, .base = 0x5d000000,
.irq = 28, .irq = 28,
......
...@@ -109,6 +109,9 @@ config OMAP_IOMMU_DEBUG ...@@ -109,6 +109,9 @@ config OMAP_IOMMU_DEBUG
Say N unless you know you need this. Say N unless you know you need this.
config OMAP_IOMMU_IVA2
bool
choice choice
prompt "System timer" prompt "System timer"
default OMAP_32K_TIMER if !ARCH_OMAP15XX default OMAP_32K_TIMER if !ARCH_OMAP15XX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册