Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271556
b: refs/heads/master
c: fcf3a6e
h: refs/heads/master
v: v3
  • Loading branch information
Ohad Ben-Cohen authored and Joerg Roedel committed Aug 26, 2011
1 parent 60d66c4 commit 3e42506
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f626b52d4a568d4315cd152123ef2d1ea406def2
refs/heads/master: fcf3a6ef4a588c9f06ad7b01c83534ab81985a3f
14 changes: 0 additions & 14 deletions trunk/arch/arm/plat-omap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -132,20 +132,6 @@ config OMAP_MBOX_KFIFO_SIZE
This can also be changed at runtime (via the mbox_kfifo_size
module parameter).

#can't be tristate; iommu api doesn't support un-registration
config OMAP_IOMMU
bool
select IOMMU_API

config OMAP_IOMMU_DEBUG
tristate "Export OMAP IOMMU internals in DebugFS"
depends on OMAP_IOMMU && DEBUG_FS
help
Select this to see extensive information about
the internal state of OMAP IOMMU in debugfs.

Say N unless you know you need this.

config OMAP_IOMMU_IVA2
bool

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/plat-omap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ obj-$(CONFIG_ARCH_OMAP3) += omap_device.o
obj-$(CONFIG_ARCH_OMAP4) += omap_device.o

obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
obj-$(CONFIG_OMAP_IOMMU) += iommu.o iovmm.o
obj-$(CONFIG_OMAP_IOMMU_DEBUG) += iommu-debug.o

obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
Expand Down
File renamed without changes.
18 changes: 18 additions & 0 deletions trunk/drivers/iommu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,22 @@ config INTR_REMAP
To use x2apic mode in the CPU's which support x2APIC enhancements or
to support platforms with CPU's having > 8 bit APIC ID, say Y.

# OMAP IOMMU support
config OMAP_IOMMU
bool "OMAP IOMMU Support"
select IOMMU_API

config OMAP_IOVMM
tristate
select OMAP_IOMMU

config OMAP_IOMMU_DEBUG
tristate "Export OMAP IOMMU/IOVMM internals in DebugFS"
depends on OMAP_IOVMM && DEBUG_FS
help
Select this to see extensive information about
the internal state of OMAP IOMMU/IOVMM in debugfs.

Say N unless you know you need this.

endif # IOMMU_SUPPORT
3 changes: 3 additions & 0 deletions trunk/drivers/iommu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ obj-$(CONFIG_MSM_IOMMU) += msm_iommu.o msm_iommu_dev.o
obj-$(CONFIG_AMD_IOMMU) += amd_iommu.o amd_iommu_init.o
obj-$(CONFIG_DMAR) += dmar.o iova.o intel-iommu.o
obj-$(CONFIG_INTR_REMAP) += dmar.o intr_remapping.o
obj-$(CONFIG_OMAP_IOMMU) += omap-iommu.o
obj-$(CONFIG_OMAP_IOVMM) += omap-iovmm.o
obj-$(CONFIG_OMAP_IOMMU_DEBUG) += omap-iommu-debug.o
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <plat/iommu.h>
#include <plat/iovmm.h>

#include "iopgtable.h"
#include <plat/iopgtable.h>

#define MAXCOLUMN 100 /* for short messages */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <plat/iommu.h>

#include "iopgtable.h"
#include <plat/iopgtable.h>

#define for_each_iotlb_cr(obj, n, __i, cr) \
for (__i = 0; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <plat/iommu.h>
#include <plat/iovmm.h>

#include "iopgtable.h"
#include <plat/iopgtable.h>

/*
* A device driver needs to create address mappings between:
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ source "drivers/media/video/m5mols/Kconfig"

config VIDEO_OMAP3
tristate "OMAP 3 Camera support (EXPERIMENTAL)"
select OMAP_IOMMU
select OMAP_IOVMM
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3 && EXPERIMENTAL
---help---
Driver for an OMAP 3 camera controller.
Expand Down

0 comments on commit 3e42506

Please sign in to comment.