ARM: tegra: ahb: enable WR_WAIT_COMMIT_ON_1K bit
Ashwini Ghuge [Thu, 27 Jun 2013 08:57:17 +0000 (13:57 +0530)]
Enable WR_WAIT_COMMIT_ON_1K bit in AHB_GIZMO_AHB_MEM
for T114 A02 chip on Dalmore

Bug 1312566

Change-Id: If81e7cbd47b070219b772a46a3e8347cad3ece6a
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/242827
(cherry picked from commit c22ce4d9127b240c0185bef9440d47f63f90cf4f)
Reviewed-on: http://git-master/r/244375
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

arch/arm/mach-tegra/common.c

index b52b471..8c8dac9 100644 (file)
@@ -705,8 +705,7 @@ static void __init tegra_init_ahb_gizmo_settings(void)
        val = gizmo_readl(AHB_GIZMO_AHB_MEM);
        val |= ENB_FAST_REARBITRATE | IMMEDIATE | DONT_SPLIT_AHB_WR;
 
-       if (tegra_get_chipid() == TEGRA_CHIPID_TEGRA11 &&
-               tegra_revision == TEGRA_REVISION_A02)
+       if (tegra_get_chipid() == TEGRA_CHIPID_TEGRA11)
                val |= WR_WAIT_COMMIT_ON_1K;
 #ifdef CONFIG_ARCH_TEGRA_14x_SOC
        val |= WR_WAIT_COMMIT_ON_1K | EN_USB_WAIT_COMMIT_ON_1K_STALL;