From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Tue, 06 Dec 2005 07:45:10 -0500 Subject: [U-Boot-Users] PPC405EP CPC0_PCI init vs. update Message-ID: <439587D6.4010902@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi All, In cpu/ppc4xx/start.S, the CPC0_PCI register is _initialized_, rather than being simply _updated_. This clears bits that are set during bootstrap from a serial eeprom. E.g. for the PerWE/PCI_INT mux, CPC0_PCI[SPE] always gets cleared. I'm proposing a simple change and would like some feedback ... it's not clear to me if this will cause problems for existing boards. Comments welcome :-) Regards, --Scott =============================================================== --- a/cpu/ppc4xx/start.S +++ b/cpu/ppc4xx/start.S @@ -1539,7 +1539,8 @@ ppc405ep_init: mtdcr ebccfgd,r3 #endif - addi r3,0,CPC0_PCI_HOST_CFG_EN + mfdcr r3, CPC0_PCI + ori r3,r3,CPC0_PCI_HOST_CFG_EN #ifdef CONFIG_BUBINGA /* !-----------------------------------------------------------------------