summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2014-04-07 14:16:33 -0700
committerSeema Khowala <seemaj@nvidia.com>2014-04-23 14:05:58 -0700
commitd5736a1cfd29f645148acecadd2a43d7861f24e1 (patch)
treee618405b2a0813e17e2155ee34dfba8ed3aca367 /drivers/platform
parent247201c24eede334cf049b1bb1ea369d71df473c (diff)
arm: tegra: mc: Remove tegra 3 specific code
Remove some code that only gets compiled for tegra 3. Tegra 3 is no onger supported on main. Change-Id: I8140f1613f93cef82b787ea7d67b5c3149e1c38b Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/393046 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/tegra/mc/mc.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/platform/tegra/mc/mc.c b/drivers/platform/tegra/mc/mc.c
index e1cdd7637d3e..bb5809de7db9 100644
--- a/drivers/platform/tegra/mc/mc.c
+++ b/drivers/platform/tegra/mc/mc.c
@@ -111,12 +111,6 @@ void tegra_mc_timing_restore(void)
mc_writel(0x1, MC_TIMING_CONTROL);
off = mc_readl(MC_TIMING_CONTROL);
-#if defined(CONFIG_ARCH_TEGRA_3x_SOC)
- /* Bug 1059264
- * Set extra snap level to avoid VI starving and dropping data.
- */
- mc_writel(1, MC_VE_EXTRA_SNAP_LEVELS);
-#endif
}
#else
#define tegra_mc_timing_save()
@@ -260,19 +254,13 @@ EXPORT_SYMBOL(tegra_mc_flush_done);
static int __init tegra_mc_init(void)
{
-#if defined(CONFIG_ARCH_TEGRA_3x_SOC) || \
- defined(CONFIG_TEGRA_MC_EARLY_ACK)
+#if defined(CONFIG_TEGRA_MC_EARLY_ACK)
u32 reg;
#endif
struct dentry *mc_debugfs_dir;
tegra_mc_timing_save();
-#if defined(CONFIG_ARCH_TEGRA_3x_SOC)
- reg = 0x0f7f1010;
- mc_writel(reg, MC_RESERVED_RSV);
-#endif
-
#if defined(CONFIG_TEGRA_MC_EARLY_ACK)
reg = mc_readl(MC_EMEM_ARB_OVERRIDE);
reg |= 3;