[U-Boot-Users] U-Boot help request for OHCI driver with CPU cache on

Matthias Fuchs
2008-05-15T08:46:04Z

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
>