Hi,
I am using diver of EHCI and OHCI in u-boot-2009.03. My HC is ISP1564, this HC 
has multi-function, it supports OHCI and EHCI. So, I think that maybe we must 
define new macros in my NSB405EP.h which is in ./include/config dir. But I find 
there are many functions in usb_ohci.c and usb_ehci_core.c defined as the same 
name,so I do not know how to use them at the same time in my project to support 
both OHCI and EHCI. Any way, another problem is that I can scan 2 functions in 
pci bus while using cmd: pci. As know that when HC power on, the ports 
ownership is under OHCI, how can I switch the owmship to EHCI???(write bit OCR 
of HcControl may not useful while I used).
Also, another problem is that: u-boot allocate base address and size for both 
OHCI and EHCI while HC be found on pci bus. This step has not problem. OHCI 
base = 0x80000000, size = 0x1000, EHCI base = 0x80001000, size = 0x100. Then I 
used command "md" to display the memory on 0x80000000(ohci) has no problem. But 
When display memory 0x80001000(ehci), u-boot go to dead as belows :
  =>md 80001000
  =>80001000: 20009500
then the terminal will not display any more info and will not receive any keys 
you pressed.Maybe u-boot go to dead this time. So I do not know why.
Can anybody help me or provide me some useful info about using muti-function 
usb HC in u-boot ???
 
Thanks,
Josh Wei

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to