summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/devices.c
diff options
context:
space:
mode:
authorHiroshi DOYU <hdoyu@nvidia.com>2011-11-16 17:36:37 +0200
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-01-23 06:30:35 -0800
commit4fdeab0b799a431aabf6318603ae0a61200d03e0 (patch)
tree3239bd5f7223f02b90bde4ca97e7f569915d4ab5 /arch/arm/mach-tegra/devices.c
parent74d88a741acbdff2d7e1ad8f7e2d9f9f1fb29428 (diff)
ARM: IOMMU: Tegra20: Add iommu_ops for GART driver
Tegra 20 IOMMU H/W, GART (Graphics Address Relocation Table). This patch implements struct iommu_ops for GART for the upper IOMMU API. This H/W module supports only single virtual address space(domain), and manages a single level 1-to-1 mapping H/W translation page table. Change-Id: I2f550bf0e14d9f994abdde79b835ddfe815faa5a Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/75945 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/devices.c')
-rw-r--r--arch/arm/mach-tegra/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c
index bb10c1089533..549db73f1627 100644
--- a/arch/arm/mach-tegra/devices.c
+++ b/arch/arm/mach-tegra/devices.c
@@ -1324,7 +1324,7 @@ struct platform_device tegra_das_device = {
};
#endif
-#if defined(CONFIG_TEGRA_IOVMM_GART)
+#if defined(CONFIG_TEGRA_IOVMM_GART) || defined(CONFIG_TEGRA_IOMMU_GART)
static struct resource tegra_gart_resources[] = {
[0] = {
.name = "mc",