summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie_layerscape.h
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2017-02-10 15:42:11 +0800
committerYork Sun <york.sun@nxp.com>2017-03-28 09:06:11 -0700
commitd170aca1a0716331cde0af957e3bd59c5531d04f (patch)
tree4e93ec14d5c9f73260d2327d4553d9846c568d30 /drivers/pci/pcie_layerscape.h
parentac55dadb1cb6a350604affd84e19006984933fa0 (diff)
downloadu-boot-d170aca1a0716331cde0af957e3bd59c5531d04f.tar.gz
u-boot-d170aca1a0716331cde0af957e3bd59c5531d04f.tar.xz
u-boot-d170aca1a0716331cde0af957e3bd59c5531d04f.zip
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>
Diffstat (limited to 'drivers/pci/pcie_layerscape.h')
-rw-r--r--drivers/pci/pcie_layerscape.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pcie_layerscape.h b/drivers/pci/pcie_layerscape.h
index 1e635ef1f2..0f9d2fe6d3 100644
--- a/drivers/pci/pcie_layerscape.h
+++ b/drivers/pci/pcie_layerscape.h
@@ -94,8 +94,10 @@
#define PCIE_LUT_ENTRY_COUNT 32
/* PF Controll registers */
+#define PCIE_PF_CONFIG 0x14
#define PCIE_PF_VF_CTRL 0x7F8
#define PCIE_PF_DBG 0x7FC
+#define PCIE_CONFIG_READY (1 << 0)
#define PCIE_SRDS_PRTCL(idx) (PCIE1 + (idx))
#define PCIE_SYS_BASE_ADDR 0x3400000