[U-Boot-Users] PCI OHCI / testing-USB branch

Markus Klotzbücher mk at denx.de
Wed Nov 29 20:51:55 CET 2006


Hi Matthias,

Matthias Fuchs <matthias.fuchs at esd-electronics.com> writes:

> do you see a problem in passing a pointer to the gohci structure to 
> usb_cpu_init() or at least to usb_board_init()?
>
> In order to get the base address of my PCI OHCI controller I first have to 
> find the device on the PCI bus. I think usb_board_init() is the right place 
> for this. But I need &gohci to pass it back to the usb driver.

Thats ok with me. I think it makes sense to pass the pointer to both
board and cpu init. But please provide a proper patch.

Thanks!

Markus Klotzbücher




More information about the U-Boot mailing list