From: Wolfgang Denk Date: Tue, 02 Jun 2009 10:29:02 +0200 Subject: [U-Boot] pci bus scan in u-boot-1.0.2 In-Reply-To: <20207172.786581243919864464.JavaMail.coremail@bj163app34.163.com> References: <20207172.786581243919864464.JavaMail.coremail@bj163app34.163.com> Message-ID: <20090602082902.60AD7832E416@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 xiaoguizi007, In message <20207172.786581243919864464.JavaMail.coremail@bj163app34.163.com> you wrote: > > I'm tring using pci function of u-boot-1.0.2. But while the programm run into function pci_hose_scan_bus() in /drivers/pci.c, it looks like go to dead and will never run. So, I assert some debug infomation, and then get the problem,maybe it is p > ci_hose_##rw##_config_##size() function. Because this function will never return this time! > Can anybody help me! U-Boot 1.0.2 is extremely old. Please consider it unsupported and update to recent code. 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 perversity of nature is nowhere better demonstrated by the fact that, when exposed to the same atmosphere, bread becomes hard while crackers become soft.