blob: 767614cbc6d352c9ca8bf13aa41fba0135ee46af [file] [log] [blame]
Markus Klotzbuecher11310212006-11-27 11:51:21 +01001Notes on the the generic USB-OHCI driver
2========================================
3
Marcel Ziswileraea68562007-12-30 03:30:46 +01004This driver (drivers/usb/usb_ohci.[ch]) is the result of the merge of
Markus Klotzbuecher11310212006-11-27 11:51:21 +01005various existing OHCI drivers that were basically identical beside
6cpu/board dependant initalization. This initalization has been moved
7into cpu/board directories and are called via the hooks below.
8
9Configuration options
10----------------------
11
Markus Klotzbuecher18f5ccb2007-06-06 11:49:35 +020012 CONFIG_USB_OHCI_NEW: enable the new OHCI driver
Markus Klotzbuecher11310212006-11-27 11:51:21 +010013
Tom Rini6a5dccc2022-11-16 13:10:41 -050014 CFG_SYS_USB_OHCI_REGS_BASE: defines the base address of the OHCI
Markus Klotzbuecher18f5ccb2007-06-06 11:49:35 +020015 registers
Markus Klotzbuecher11310212006-11-27 11:51:21 +010016
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020017 CONFIG_SYS_USB_OHCI_SLOT_NAME: slot name
Markus Klotzbuecher11310212006-11-27 11:51:21 +010018
Markus Klotzbuecher11310212006-11-27 11:51:21 +010019Endianness issues
20------------------
21
Markus Klotzbuecher18f5ccb2007-06-06 11:49:35 +020022The USB bus operates in little endian, but unfortunately there are
Heiko Schocher6f90e582017-06-14 05:49:40 +020023OHCI controllers that operate in big endian such as ppc4xx. For these the
24config option
Markus Klotzbuecher18f5ccb2007-06-06 11:49:35 +020025
Jean-Christophe PLAGNIOL-VILLARD03836942008-10-16 15:01:15 +020026 CONFIG_SYS_OHCI_BE_CONTROLLER
Markus Klotzbuecher18f5ccb2007-06-06 11:49:35 +020027
Wolfgang Denk36882932007-08-13 21:57:53 +020028needs to be defined.
Markus Klotzbuecher18f5ccb2007-06-06 11:49:35 +020029