]> git.baikalelectronics.ru Git - uboot.git/commit
pci: layerscape-ep: Add check of the PCIe controller enablement
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Thu, 13 May 2021 06:54:32 +0000 (14:54 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 17 Jun 2021 06:16:11 +0000 (11:46 +0530)
commit2be3a9e0f9b928e6c55daeffe598b84322000eef
treef5e460907fc097f66ccf27c11c4abbc9071d7e83
parent719e43c6e7b96936210fc9e5587f3fc0af945e50
pci: layerscape-ep: Add check of the PCIe controller enablement

Stop to initialize the PCIe controller if it's disabled by RCW.

Fixes: 1a0fa2790ba9 ("pci: layerscape: Split the EP and RC driver")
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/pci/pcie_layerscape_ep.c