]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ti-u-boot/ti-u-boot.git/commit
pci: imx: disable imx6sdl LTSSM upon driver remove
authorTim Harvey <tharvey@gateworks.com>
Fri, 16 Apr 2021 20:30:41 +0000 (13:30 -0700)
committerStefano Babic <sbabic@denx.de>
Sun, 2 May 2021 10:46:54 +0000 (12:46 +0200)
commitdd8c32410e47880961a867ab143e48183b4c0493
treed28c15eb497325efb02a373918314f13c45c52e0
parent35fc3713a39e70af3c8a4ce606c758d4f9af0800
pci: imx: disable imx6sdl LTSSM upon driver remove

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
bootloader had enabled PCI.

The issue exists for IMX6Q, IMX6D, IXM6S, and IMX6DL. Fix the case for
IMX6S and IMX6DL getting missed.

This fixes IMX6S and IMX6DL with PCI enabled in U-Boot booting for
Linux v4.11+.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
drivers/pci/pcie_imx.c