[U-Boot] [PATCH] PCIe:change the method to get the address of a requested capability in configuration space.

Wolfgang Denk wd at denx.de
Mon Sep 16 10:54:22 CEST 2013


Dear Zhao Qiang,

In message <1379040166-27997-1-git-send-email-B45475 at 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:
> 	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 at 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

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There are certain things men must do to remain men.
	-- Kirk, "The Ultimate Computer", stardate 4929.4


More information about the U-Boot mailing list