summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMinghuan Lian <Minghuan.Lian@freescale.com>2015-03-27 13:24:39 +0800
committerYork Sun <yorksun@freescale.com>2015-05-04 09:24:23 -0700
commit1d0b59a9b049443397f484ad03b88c6314bc7ebb (patch)
tree3aa8fc04de6bfd03c81ee07ee443bec9be07995d /arch
parent5066e62847bddf6030262ade2aa3e7bcdc930037 (diff)
downloadtalos-obmc-uboot-1d0b59a9b049443397f484ad03b88c6314bc7ebb.tar.gz
talos-obmc-uboot-1d0b59a9b049443397f484ad03b88c6314bc7ebb.zip
fsl/pci: Set CFG_READY for PCIe v3.0 and later
Freescale PCIe controllers v3.0 and later need to set bit CFG_READY to allow all inbound configuration transactions to be processed normally when in EP mode. However, bit CFG_READY has been moved from PCIe configuration space to CCSR PCIe configuration register comparing previous version. The patch is to set this bit according to PCIe version. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/fsl_pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_pci.h b/arch/powerpc/include/asm/fsl_pci.h
index 5be718b162..8bee8ca998 100644
--- a/arch/powerpc/include/asm/fsl_pci.h
+++ b/arch/powerpc/include/asm/fsl_pci.h
@@ -19,6 +19,7 @@
#define FSL_PCI_PBFR 0x44
#define FSL_PCIE_CFG_RDY 0x4b0
+#define FSL_PCIE_V3_CFG_RDY 0x1
#define FSL_PROG_IF_AGENT 0x1
#define PCI_LTSSM 0x404 /* PCIe Link Training, Status State Machine */
OpenPOWER on IntegriCloud