[U-Boot] [PATCH] 85xx/p2020ds: Use is_serdes_configured() to determine of PCIe enabled

Wolfgang Denk wd at denx.de
Thu May 27 13:20:16 CEST 2010


Dear Kumar Gala,

In message <5F58DE0B-6EF8-4ED6-A1A8-C0E37C8539BE at kernel.crashing.org> you wrote:
> 
> This is my fault.  However not sure what to do about it since we'd break
> compatibility with kernel .dts to clean this up.
> 
> 99% of the u-boot code should match the HW docs.  In this one place I
> tried to "rename" things such that it made sense.  The pci aliases in
> the .dts are in order of address (so whatever HW controller is @ 0x8000
> would be "pci0", 0x9000 - "pci1", etc.)

This doesn't seem to be the case in U-Boot; here we see:

#define CONFIG_SYS_PCIE3_ADDR           (CONFIG_SYS_CCSRBAR+0x8000)
#define CONFIG_SYS_PCIE2_ADDR           (CONFIG_SYS_CCSRBAR+0x9000)
#define CONFIG_SYS_PCIE1_ADDR           (CONFIG_SYS_CCSRBAR+0xa000)

i. e. the highest number is at the lowest address??



Best regards,

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
The easiest way to figure the cost of living is to take  your  income
and add ten percent.


More information about the U-Boot mailing list