video: tegra: nvavp: Remove T30 A01 workaround
Juha Tukkinen [Wed, 18 Apr 2012 05:17:43 +0000 (10:17 +0530)]
Remove CONFIG_TEGRA_SMMU_BASE_AT_E0000000 workaround as T30 A01 is no
longer supported.

Change-Id: Ic47d0aa16c555bd7821416fff29d723924c6118b
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/95645
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Conflicts:

drivers/media/video/tegra/nvavp/nvavp_dev.c

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

drivers/media/video/tegra/nvavp/nvavp_dev.c

index aba50be..32cd5e2 100644 (file)
@@ -1178,17 +1178,7 @@ static int tegra_nvavp_probe(struct nvhost_device *ndev)
        switch (heap_mask) {
        case NVMAP_HEAP_IOVMM:
 
-#ifdef CONFIG_TEGRA_SMMU_BASE_AT_E0000000
-               iovmm_addr = 0xeff00000;
-#else
                iovmm_addr = 0x0ff00000;
-#endif
-
-               /* Tegra3 A01 has different SMMU address */
-               if (tegra_get_chipid() == TEGRA_CHIPID_TEGRA3
-                       && tegra_revision == TEGRA_REVISION_A01) {
-                       iovmm_addr = 0xeff00000;
-               }
 
                nvavp->os_info.handle = nvmap_alloc_iovm(nvavp->nvmap, SZ_1M,
                                                L1_CACHE_BYTES,