
11 Jan
2007
11 Jan
'07
4 p.m.
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