14 #ifndef __POWERPC_FSL_PCI_H
15 #define __POWERPC_FSL_PCI_H
17 #define PCIE_LTSSM 0x0404
18 #define PCIE_LTSSM_L0 0x16
19 #define PCIE_IP_REV_2_2 0x02080202
20 #define PIWAR_EN 0x80000000
21 #define PIWAR_PF 0x20000000
22 #define PIWAR_TGI_LOCAL 0x00f00000
23 #define PIWAR_READ_SNOOP 0x00050000
24 #define PIWAR_WRITE_SNOOP 0x00005000
25 #define PIWAR_SZ_MASK 0x0000003f
28 struct pci_outbound_window_regs {
38 struct pci_inbound_window_regs {
70 struct pci_outbound_window_regs pow[5];
72 struct pci_inbound_window_regs pmit;
78 struct pci_inbound_window_regs piw[4];
94 extern int fsl_add_bridge(
struct device_node *
dev,
int is_primary);
95 extern void fsl_pcibios_fixup_bus(
struct pci_bus *
bus);
102 void fsl_pci_assign_primary(
void);
104 static inline void fsl_pci_assign_primary(
void) {}
107 #ifdef CONFIG_EDAC_MPC85XX