mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
287df01e6a
Previously, the address of a requested capability is define like that "#define PCI_DCR 0x78" But, the addresses of capabilities is different with regard to PCIe revs. So this method is not flexible. Now a function to get the address of a requested capability is added and used. It can get the address dynamically by capability ID. The step of this function: 1. Read Status register in PCIe configuration space to confirm that Capabilities List is valid. 2. Find the address of Capabilities Pointer Register. 3. Find the address of requested capability from the first capability. Signed-off-by: Zhao Qiang <B45475@freescale.com> |
||
---|---|---|
.. | ||
fsl_pci_init.c | ||
Makefile | ||
pci.c | ||
pci_auto.c | ||
pci_ftpci100.c | ||
pci_gt64120.c | ||
pci_indirect.c | ||
pci_ixp.c | ||
pci_sh4.c | ||
pci_sh7751.c | ||
pci_sh7780.c | ||
tsi108_pci.c | ||
w83c553f.c |