
Dear Zhao Qiang,
In message 1379040166-27997-1-git-send-email-B45475@freescale.com you wrote:
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:
- Read Status register in PCIe configuration space to confirm that Capabilities List is valid.
- Find the address of Capabilities Pointer Register.
- Find the address of requested capability from the first capability.
Signed-off-by: Zhao Qiang B45475@freescale.com
As far as I can tell, this is the third time you are posting this patch, but with out any indication (there is no version string in the Subject), and without any description of any changes you might have made.
Could you please be so kind and read the instructions at [1] and then provide the missing information?
[1] http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versions
Thanks.
Wolfgang Denk