• Marek Vasut's avatar
    PCI: imx6: Start link in Gen1 before negotiating for Gen2 mode · fa33a6d8
    Marek Vasut authored
    This patch first forces the link into Gen1 mode before starting up the link
    and, only after the link is up, start negotiating possible Gen2 mode
    operation.  This is because without such sequence, some PCIe switches are
    not detected at all.
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
    Cc: Frank Li <lznuaa@gmail.com>
    Cc: Harro Haan <hrhaan@gmail.com>
    Cc: Jingoo Han <jg1.han@samsung.com>
    Cc: Mohit KUMAR <Mohit.KUMAR@st.com>
    Cc: Pratyush Anand <pratyush.anand@st.com>
    Cc: Richard Zhu <r65037@freescale.com>
    Cc: Sascha Hauer <s.hauer@pengutronix.de>
    Cc: Sean Cross <xobs@kosagi.com>
    Cc: Siva Reddy Kallam <siva.kallam@samsung.com>
    Cc: Srikanth T Shivanand <ts.srikanth@samsung.com>
    Cc: Tim Harvey <tharvey@gateworks.com>
    Cc: Troy Kisky <troy.kisky@boundarydevices.com>
    Cc: Yinghai Lu <yinghai@kernel.org>
    fa33a6d8
pci-imx6.c 15.8 KB