ARM: tegra: iomap: Introduce TEGRA_IOMMU_{BASE,SIZE} for SMMU/GART
authorVandana Salve <vsalve@nvidia.com>
Tue, 13 Mar 2012 08:41:41 +0000 (13:41 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 11 Jul 2012 13:36:38 +0000 (06:36 -0700)
commit22b1ce014b037ed8e48fa15eb144c783f18659ed
tree665ceeb625e2590dcc83d782fc2a1805dc991b5b
parent679f252f2320851d7d7fae4535a883de0cf1cdb4
ARM: tegra: iomap: Introduce TEGRA_IOMMU_{BASE,SIZE} for SMMU/GART

Replace TEGRA_{SMMU,GART}_{BASE,SIZE} with TEGRA_IOMMU_{BASE,SIZE} to
deal with SMMU/GART in unified manner.

This is necessary for DMA mapping API to pass the appropriate IOMMU
address for SMMU and GART in the same code in nvmap.

[Hiroshi Doyu: Squash nvmap parts into "nvmap: API conversion" patch.]

Change-Id: I75429dd56554f880f144c375d2c20e8e8948ceee
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/114212
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
arch/arm/mach-tegra/include/mach/iomap.h