From 04ffb571ea3747980fca1b5d3295a7dcd7a77934 Mon Sep 17 00:00:00 2001 From: Eric Brower Date: Mon, 18 Nov 2013 22:55:06 +0000 Subject: PCI: Disable Gen2 for Tegra20 and Tegra30 Tegra20 and Tegra30 do not support gen2 PCIe, so correct the register setting to disable it. Signed-off-by: Eric Brower Signed-off-by: Bjorn Helgaas Acked-by: Thierry Reding --- arch/arm/mach-tegra/pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra/pcie.c b/arch/arm/mach-tegra/pcie.c index efeb2c48277e..ee26138a6e61 100644 --- a/arch/arm/mach-tegra/pcie.c +++ b/arch/arm/mach-tegra/pcie.c @@ -825,7 +825,7 @@ static void tegra_pcie_enable_controller(void) afi_writel(val, AFI_PCIE_CONFIG); /* Disable Gen 2 capability of PCIE */ - val = afi_readl(AFI_FUSE) & ~AFI_FUSE_PCIE_T0_GEN2_DIS; + val = afi_readl(AFI_FUSE) | AFI_FUSE_PCIE_T0_GEN2_DIS; afi_writel(val, AFI_FUSE); /* Initialze internal PHY, enable up to 16 PCIE lanes */ -- cgit v1.2.3