From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus =?iso-8859-1?Q?Klotzb=FCcher?= Date: Wed, 29 Nov 2006 20:51:55 +0100 Subject: [U-Boot-Users] PCI OHCI / testing-USB branch In-Reply-To: <200611292016.55218.matthias.fuchs@esd-electronics.com> (Matthias Fuchs's message of "Wed, 29 Nov 2006 20:16:55 +0100") References: <87lklviu1a.fsf@denx.de> <200611292016.55218.matthias.fuchs@esd-electronics.com> Message-ID: <87mz6at4is.fsf@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 Hi Matthias, Matthias Fuchs 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