X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fpci.h;h=8e5dacc0df6cac054670e8b2238a485dbd02bd5f;hb=308e2b3a6c3fd84fceada79b3d4a559280d326a6;hp=e0e8783a7aa1f85b41aa1d9866aa994dc5dac9c4;hpb=c3c3b089adcee06df3afd4e8b00a3fea82263bcd;p=oweals%2Fu-boot.git diff --git a/include/pci.h b/include/pci.h index e0e8783a7a..8e5dacc0df 100644 --- a/include/pci.h +++ b/include/pci.h @@ -302,6 +302,12 @@ #define PCI_MAX_PCI_DEVICES 32 #define PCI_MAX_PCI_FUNCTIONS 8 +#define PCI_DCR 0x54 /* PCIe Device Control Register */ +#define PCI_DSR 0x56 /* PCIe Device Status Register */ +#define PCI_LSR 0x5e /* PCIe Link Status Register */ +#define PCI_LTSSM 0x404 /* PCIe Link Training, Status State Machine */ +#define PCI_LTSSM_L0 0x16 /* L0 state */ + /* Include the ID list */ #include @@ -501,4 +507,7 @@ extern int pci_hose_config_device(struct pci_controller *hose, extern void pci_mpc824x_init (struct pci_controller *hose); #endif +#ifdef CONFIG_MPC85xx +extern void pci_mpc85xx_init (struct pci_controller *hose); +#endif #endif /* _PCI_H */