On Mon, Nov 18, 2013 at 02:55:06PM -0800, Eric Brower wrote:
> Tegra20 and Tegra30 do not support gen2 PCIe, so correct the
> register setting to disable it.
> 
> Signed-off-by: Eric Brower <[email protected]>
> ---
>  drivers/pci/host/pci-tegra.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c
> index 0afbbbc..b8ba2f7 100644
> --- a/drivers/pci/host/pci-tegra.c
> +++ b/drivers/pci/host/pci-tegra.c
> @@ -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 */

Bjorn: can you pick this up directly or would you rather have me prepare
a branch? It's the only one for Tegra so far, so a branch wouldn't be
all that useful. In case you want to pick it up directly:

Acked-by: Thierry Reding <[email protected]>

Attachment: pgpXDRBCzuDVl.pgp
Description: PGP signature

Reply via email to