[U-Boot-Users] AT91RM9200 USB UHCI

Eric BENARD ebenard at free.fr
Thu Mar 13 07:46:10 CET 2008


Matt Gessner a écrit :
> Is anyone doing any work on this for u-boot?

it's OHCI and it's already in u-boot :

http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=cpu/arm920t/at91rm9200/usb.c;h=c121de6328ed8cac480ce097b395092bbae4bb9d;hb=HEAD

add :
#define CONFIG_USB_OHCI_NEW     1
#define CONFIG_USB_KEYBOARD     1
#define CONFIG_USB_STORAGE      1
#define CONFIG_DOS_PARTITION    1

next line only if you are using a PQFP pacakge for the AT91RM9200 !
#define CONFIG_AT91C_PQFP_UHPBUG 1

#undef CFG_USB_OHCI_BOARD_INIT
#define CFG_USB_OHCI_CPU_INIT           1
#define CFG_USB_OHCI_REGS_BASE          AT91_USB_HOST_BASE
#define CFG_USB_OHCI_SLOT_NAME          "at91rm9200"
#define CFG_USB_OHCI_MAX_ROOT_PORTS     15

to your config file and this should work

Eric




More information about the U-Boot mailing list