mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-15 15:06:04 -04:00
Adds EHCI definitions to sequoia board configuration file.
Adds required definitions for EHCI support in sequoia configuration file. But still keeps the OHCI as default driver. Signed-off-by: Chris Zhang <chris@seamicro.com>
This commit is contained in:
parent
5f82887fee
commit
559e2c87e4
@ -282,8 +282,20 @@
|
|||||||
|
|
||||||
/* USB */
|
/* USB */
|
||||||
#ifdef CONFIG_440EPX
|
#ifdef CONFIG_440EPX
|
||||||
|
|
||||||
|
#undef CONFIG_USB_EHCI /* OHCI by default */
|
||||||
|
|
||||||
|
#ifdef CONFIG_USB_EHCI
|
||||||
|
#define CONFIG_USB_EHCI_PPC4XX
|
||||||
|
#define CONFIG_SYS_PPC4XX_USB_ADDR 0xe0000300
|
||||||
|
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||||
|
#define CONFIG_EHCI_MMIO_BIG_ENDIAN
|
||||||
|
#define CONFIG_EHCI_DESC_BIG_ENDIAN
|
||||||
|
#ifdef CONFIG_4xx_DCACHE
|
||||||
|
#define CONFIG_EHCI_DCACHE
|
||||||
|
#endif
|
||||||
|
#else /* CONFIG_USB_EHCI */
|
||||||
#define CONFIG_USB_OHCI_NEW
|
#define CONFIG_USB_OHCI_NEW
|
||||||
#define CONFIG_USB_STORAGE
|
|
||||||
#define CONFIG_SYS_OHCI_BE_CONTROLLER
|
#define CONFIG_SYS_OHCI_BE_CONTROLLER
|
||||||
|
|
||||||
#undef CONFIG_SYS_USB_OHCI_BOARD_INIT
|
#undef CONFIG_SYS_USB_OHCI_BOARD_INIT
|
||||||
@ -291,7 +303,9 @@
|
|||||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE CONFIG_SYS_USB_HOST
|
#define CONFIG_SYS_USB_OHCI_REGS_BASE CONFIG_SYS_USB_HOST
|
||||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "ppc440"
|
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "ppc440"
|
||||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 15
|
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 15
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define CONFIG_USB_STORAGE
|
||||||
/* Comment this out to enable USB 1.1 device */
|
/* Comment this out to enable USB 1.1 device */
|
||||||
#define USB_2_0_DEVICE
|
#define USB_2_0_DEVICE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user