From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Thu, 11 Jan 2007 16:00:23 +0100 Subject: [U-Boot-Users] reg ISP 1561 integration with u-boot1.1.6 In-Reply-To: <20070111131538.E72ED35264F@atlas.denx.de> References: <20070111131538.E72ED35264F@atlas.denx.de> Message-ID: <200701111600.24193.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 On Thursday 11 January 2007 14:15, Wolfgang Denk wrote: > In message <200701111339.01196.matthias.fuchs@esd-electronics.com> you wrote: > > > > What about taking some code / macros from the linux kernel (usb/host/ohci.h)? > > It seems that all we need is the CONFIG_USB_OHCI_BIG_ENDIAN define. > > No, this is not sufficient. See my previous message. > > Also be aware that the U-Boot USB code is much more restrictive, so > watch for incompatibilities when copying from Linux sources. My idea is not to copy the ohci implementation, but the access macros and the naming convention in order to get a little closer to the kernel's implementation. Matthias