From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 27 May 2010 13:20:16 +0200 Subject: [U-Boot] [PATCH] 85xx/p2020ds: Use is_serdes_configured() to determine of PCIe enabled In-Reply-To: <5F58DE0B-6EF8-4ED6-A1A8-C0E37C8539BE@kernel.crashing.org> References: <1274433478-31849-1-git-send-email-galak@kernel.crashing.org> <1274433478-31849-2-git-send-email-galak@kernel.crashing.org> <20100527070846.85882EAC238@gemini.denx.de> <5F58DE0B-6EF8-4ED6-A1A8-C0E37C8539BE@kernel.crashing.org> Message-ID: <20100527112016.24164EAC238@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <5F58DE0B-6EF8-4ED6-A1A8-C0E37C8539BE@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.