Revert "HACK: ARM: tegra: Disable AHB prefetch for USB"
Jeetesh Burman [Tue, 10 Sep 2013 09:55:20 +0000 (14:55 +0530)]
Since SMMU issue is fixed, So remove hack to disable AHB GIZMO
PREFETCH for USB.

BUG 1215880
BUG 1362455

This reverts commit 1893bb32be8e462bf06a69cd397aff6199a2a90f.

arch/arm/mach-tegra/common.c

index 08b24ed..82bb9b6 100644 (file)
@@ -793,9 +793,6 @@ static void __init tegra_init_ahb_gizmo_settings(void)
        val &= ~MST_ID(~0);
        val |= PREFETCH_ENB | USB_MST_ID | ADDR_BNDRY(0xc) |
                INACTIVITY_TIMEOUT(0x1000);
-#if !defined(CONFIG_ANDROID)
-       val &= ~USB_MST_ID;
-#endif
        ahb_gizmo_writel(val,
                IO_ADDRESS(TEGRA_AHB_GIZMO_BASE + AHB_MEM_PREFETCH_CFG2));
 
@@ -803,9 +800,6 @@ static void __init tegra_init_ahb_gizmo_settings(void)
        val &= ~MST_ID(~0);
        val |= PREFETCH_ENB | USB3_MST_ID | ADDR_BNDRY(0xc) |
                INACTIVITY_TIMEOUT(0x1000);
-#if !defined(CONFIG_ANDROID)
-       val &= ~USB3_MST_ID;
-#endif
        ahb_gizmo_writel(val,
                IO_ADDRESS(TEGRA_AHB_GIZMO_BASE + AHB_MEM_PREFETCH_CFG3));