summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/fsl_pci.h
diff options
context:
space:
mode:
authorvojo <joris.van.vossen@sintecs.nl>2017-09-28 08:12:40 (GMT)
committervojo <joris.van.vossen@sintecs.nl>2017-09-28 08:12:40 (GMT)
commited8f4f644dfceb1a3967f0d4d8e3ea41210e6a46 (patch)
tree4dd382a3c6cff15c2942536d28285098ffcf23cb /arch/powerpc/include/asm/fsl_pci.h
parent12a11a405781bdb817091192f66b82c8fe35ae08 (diff)
downloadu-boot-fsl-qoriq-ed8f4f644dfceb1a3967f0d4d8e3ea41210e6a46.tar.xz
T2081 pci update for PCI SAS/SATA configuration
Diffstat (limited to 'arch/powerpc/include/asm/fsl_pci.h')
-rw-r--r--arch/powerpc/include/asm/fsl_pci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_pci.h b/arch/powerpc/include/asm/fsl_pci.h
index cad341e..8edad88 100644
--- a/arch/powerpc/include/asm/fsl_pci.h
+++ b/arch/powerpc/include/asm/fsl_pci.h
@@ -23,7 +23,12 @@
#define FSL_PROG_IF_AGENT 0x1
#define PCI_LTSSM 0x404 /* PCIe Link Training, Status State Machine */
+
+#if defined (CONFIG_ARCH_T2081) || defined (CONFIG_ARCH_T2080)
+#define PCI_LTSSM_L0 0x11 /* L0 state */
+#else
#define PCI_LTSSM_L0 0x16 /* L0 state */
+#endif
int fsl_setup_hose(struct pci_controller *hose, unsigned long addr);
int fsl_is_pci_agent(struct pci_controller *hose);