USB: ehci_fsl update for MPC831x support
authorLi Yang <leoli@freescale.com>
Fri, 11 May 2007 09:09:55 +0000 (17:09 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:50 +0000 (16:29 -0700)
For MPC831x support, change the ehci-fsl driver to preserve
bits set in platform code.  Add a common CONFIG_USB_EHCI_FSL
to indicate presence of Freescale EHCI SOC.  Add FSL_USB2_DR_OTG
operating mode support, thus both host and device can work for the
mini-ab receptacle.  Note: this doesn't enable OTG protocol
support.

Signed-off-by: Li Yang <leoli@freescale.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/Kconfig
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-hcd.c

index a2bcca8..2f52982 100644 (file)
@@ -77,6 +77,13 @@ config USB_EHCI_BIG_ENDIAN_DESC
        depends on USB_EHCI_HCD && 440EPX
        default y
 
+config USB_EHCI_FSL
+       bool
+       select USB_EHCI_ROOT_HUB_TT
+       default y if MPC834x || PPC_MPC831x
+       ---help---
+         Variation of ARC USB block used in some Freescale chips.
+
 config USB_ISP116X_HCD
        tristate "ISP116X HCD support"
        depends on USB
Simple merge
Simple merge