pci: layerscape: enable PCIe config ready
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 10 Feb 2017 07:42:11 +0000 (15:42 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 28 Mar 2017 16:06:11 +0000 (09:06 -0700)
commitd170aca1a0716331cde0af957e3bd59c5531d04f
tree4e93ec14d5c9f73260d2327d4553d9846c568d30
parentac55dadb1cb6a350604affd84e19006984933fa0
pci: layerscape: enable PCIe config ready

In EP mode, to enable accesses from the Root Complex, the
CONFIG_READY bit must be set, otherwise any config attempts
from the Root Complex will be returned with config retry
status (CRS).

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/pci/pcie_layerscape.c
drivers/pci/pcie_layerscape.h