PCI: Disable Gen2 for Tegra20 and Tegra30
authorEric Brower <ebrower@nvidia.com>
Mon, 18 Nov 2013 22:55:06 +0000 (14:55 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 7 Dec 2013 22:39:06 +0000 (15:39 -0700)
Tegra20 and Tegra30 do not support gen2 PCIe, so correct the
register setting to disable it.

Signed-off-by: Eric Brower <ebrower@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thierry Reding <treding@nvidia.com>
drivers/pci/host/pci-tegra.c

index 0afbbbc55c81e4bca1ab5ef4f9b556fcad0dc6b1..b8ba2f794559c65fba1aed5b6eebfd82f4c364b5 100644 (file)
@@ -805,7 +805,7 @@ static int tegra_pcie_enable_controller(struct tegra_pcie *pcie)
        afi_writel(pcie, value, AFI_PCIE_CONFIG);
 
        value = afi_readl(pcie, AFI_FUSE);
-       value &= ~AFI_FUSE_PCIE_T0_GEN2_DIS;
+       value |= AFI_FUSE_PCIE_T0_GEN2_DIS;
        afi_writel(pcie, value, AFI_FUSE);
 
        /* initialize internal PHY, enable up to 16 PCIE lanes */
This page took 0.025727 seconds and 5 git commands to generate.