[PATCH] pci: imx: disable imx6sdl LTSSM upon driver remove

Fabio Estevam festevam at gmail.com
Fri Apr 16 22:41:01 CEST 2021


Hi Tim,

Some more comments.

On Fri, Apr 16, 2021 at 5:30 PM Tim Harvey <tharvey at gateworks.com> wrote:
>
> commit 6ecbe1375671 ("drivers: pci: imx: add imx_pcie_remove function")
> attempted to resolve an issue caused by MX6QDL not having a proper
> intneral PCIe core reset and thus hanging during kernel init if the

"internal"

> --- a/drivers/pci/pcie_imx.c
> +++ b/drivers/pci/pcie_imx.c
> @@ -473,7 +473,7 @@ static int imx6_pcie_assert_core_reset(struct imx_pcie_priv *priv,
>          * If both LTSSM_ENABLE and REF_SSP_ENABLE are active we have a strong
>          * indication that the bootloader activated the link.
>          */
> -       if (is_mx6dq() && prepare_for_boot) {
> +       if ((is_mx6dq() || is_mx6sdl()) && prepare_for_boot) {

It seems that i.MX6QP is missing. What about adding is_mx6dqp() too?


More information about the U-Boot mailing list