From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Thu, 15 May 2008 10:46:04 +0200 Subject: [U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on In-Reply-To: <00a901c8b644$c624a1e0$30065e0a@SHZ.ST.COM> References: <00a901c8b644$c624a1e0$30065e0a@SHZ.ST.COM> Message-ID: <200805151046.04579.matthias.fuchs@esd-electronics.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 Ryan, you are probably using the CONFIG_USB_OHCI_NEW option for your PCI OHCI controller. The code in drivers/usb/usb_ohci.c is currently not aware of caches. So we need to add some flush/invalidates at the correct places. I think nobody will keep you from starting to work on this :-) Matthias On Thursday 15 May 2008 06:33:07 Ryan CHEN wrote: > Hi all, > I am porting U-Boot to a MIPS64 platform, that uses USB host controller NEC > uPD720101 on PCI bus. > > I didn't modify anything related with USB driver, I just enabled OHCI in > the configuration. When CPU cache is disabled, USB is perfect working. > When CPU cache is enabled, every driver works well but not USB. > > Could you suggest me how to solve the problem? > Is there any specific part of USB driver that requires cache handling? > > Best Regards, > Ryan Chen >