xhci: tegra: remove write INTERPKT_DELAY in driver
Joy Wang [Tue, 29 Oct 2013 08:58:52 +0000 (16:58 +0800)]
As firmware will set
XUSB_CFG_HSPX_CORE_HSICWRAP.INTERPKT_DELAY to 0x30.
Remove this register write in driver.

Bug 1342607

Change-Id: Ic6197fe738ffbef820c463032650715d225b44f2
Signed-off-by: Joy Wang <joyw@nvidia.com>
Reviewed-on: http://git-master/r/304773
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

drivers/usb/host/xhci-tegra.c
drivers/usb/host/xhci-tegra.h

index 2a03f16..767eaa5 100644 (file)
@@ -2544,14 +2544,6 @@ static int load_firmware(struct tegra_xhci_hcd *tegra, bool resetARU)
                return -EFAULT;
        }
 
-       /* TODO move this into firmware to avoid race */
-       writel(0x0, tegra->fpci_base + XUSB_CFG_ARU_C11PAGESEL0);
-       writel(0x1000, tegra->fpci_base + XUSB_CFG_ARU_C11PAGESEL1);
-       writel(0x10, tegra->fpci_base + XUSB_CFG_HSPX_CORE_HSICWRAP);
-       reg_dump(&pdev->dev, tegra->fpci_base, XUSB_CFG_ARU_C11PAGESEL0);
-       reg_dump(&pdev->dev, tegra->fpci_base, XUSB_CFG_ARU_C11PAGESEL1);
-       reg_dump(&pdev->dev, tegra->fpci_base, XUSB_CFG_HSPX_CORE_HSICWRAP);
-
        return 0;
 }
 
index a5ccc2f..5d57130 100644 (file)
 #define XUSB_CFG_ARU_CONTEXT_HSFS_SPEED                        0x00000480
 #define XUSB_CFG_ARU_CONTEXT_HSFS_PP                   0x00000484
 #define XUSB_CFG_CSB_BASE_ADDR                         0x00000800
-#define XUSB_CFG_ARU_C11PAGESEL0                       0x00000400
-#define XUSB_CFG_ARU_C11PAGESEL1                       0x00000404
-#define XUSB_CFG_HSPX_CORE_HSICWRAP                    0x00000658
 
 
 #define XUSB_DEVICE_ID_T114                            0x0E16