diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-06-01 18:46:12 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-08-26 05:46:00 -0400 |
commit | f626b52d4a568d4315cd152123ef2d1ea406def2 (patch) | |
tree | 3592dfe99e9fd2713609cef9fbb8d0dfc8653a52 /arch/arm/plat-omap/Kconfig | |
parent | fcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c (diff) |
omap: iommu: migrate to the generic IOMMU API
Migrate OMAP's iommu driver to the generic IOMMU API, so users can stay
generic, and any generic IOMMU functionality can be developed once
in the generic framework.
Migrate omap's iovmm (virtual memory manager) to the generic IOMMU API,
and adapt omap3isp as needed, so the latter won't break.
The plan is to eventually remove iovmm completely by replacing it
with the (upcoming) IOMMU-based DMA-API.
Tested on OMAP3 (with omap3isp) and OMAP4 (with rpmsg/remoteproc).
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/arm/plat-omap/Kconfig')
-rw-r--r-- | arch/arm/plat-omap/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index bb8f4a6b3e3..e1e954d7486 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig | |||
@@ -132,8 +132,10 @@ config OMAP_MBOX_KFIFO_SIZE | |||
132 | This can also be changed at runtime (via the mbox_kfifo_size | 132 | This can also be changed at runtime (via the mbox_kfifo_size |
133 | module parameter). | 133 | module parameter). |
134 | 134 | ||
135 | #can't be tristate; iommu api doesn't support un-registration | ||
135 | config OMAP_IOMMU | 136 | config OMAP_IOMMU |
136 | tristate | 137 | bool |
138 | select IOMMU_API | ||
137 | 139 | ||
138 | config OMAP_IOMMU_DEBUG | 140 | config OMAP_IOMMU_DEBUG |
139 | tristate "Export OMAP IOMMU internals in DebugFS" | 141 | tristate "Export OMAP IOMMU internals in DebugFS" |