diff mbox

[U-Boot] ot1200: add support for EHCI

Message ID 1415626548-22883-1-git-send-email-christian.gmeiner@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Christian Gmeiner Nov. 10, 2014, 1:35 p.m. UTC
U-Boot 2014.10-17457-g0b23780-dirty (Nov 10 2014 - 11:41:04)

CPU:   Freescale i.MX6D rev1.2 at 792 MHz
Reset cause: WDOG
Board: ot1200
I2C:   ready
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected M25P16 with page size 256 Bytes, erase size 64 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial
Net:   using phy at 0
FEC [PRIME]
Hit any key to stop autoboot:  0
=> usb start
(Re)start USB...
USB0:   Port not available.
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 4 USB Device(s) found
=> usb tree
USB device tree:
  1  Hub (480 Mb/s, 0mA)
  |  u-boot EHCI Host Controller
  |
  +-2  Hub (480 Mb/s, 2mA)
    |
    +-3  Mass Storage (480 Mb/s, 80mA)
    |    USBest Technology USB Mass Storage Device 0000000000028B
    |
    +-4  Vendor specific (480 Mb/s, 2mA)

=>

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
---
 include/configs/ot1200.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Stefano Babic Nov. 13, 2014, 3:34 p.m. UTC | #1
On 10/11/2014 14:35, Christian Gmeiner wrote:
> U-Boot 2014.10-17457-g0b23780-dirty (Nov 10 2014 - 11:41:04)
> 
> CPU:   Freescale i.MX6D rev1.2 at 792 MHz
> Reset cause: WDOG
> Board: ot1200
> I2C:   ready
> DRAM:  1 GiB
> MMC:   FSL_SDHC: 0, FSL_SDHC: 1
> SF: Detected M25P16 with page size 256 Bytes, erase size 64 KiB, total 2 MiB
> In:    serial
> Out:   serial
> Err:   serial
> Net:   using phy at 0
> FEC [PRIME]
> Hit any key to stop autoboot:  0
> => usb start
> (Re)start USB...
> USB0:   Port not available.
> USB1:   USB EHCI 1.00
> scanning bus 1 for devices... 4 USB Device(s) found
> => usb tree
> USB device tree:
>   1  Hub (480 Mb/s, 0mA)
>   |  u-boot EHCI Host Controller
>   |
>   +-2  Hub (480 Mb/s, 2mA)
>     |
>     +-3  Mass Storage (480 Mb/s, 80mA)
>     |    USBest Technology USB Mass Storage Device 0000000000028B
>     |
>     +-4  Vendor specific (480 Mb/s, 2mA)
> 
> =>
> 
> Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
> ---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index d7696bd..9512b1e 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -83,6 +83,13 @@ 
 #define CONFIG_GENERIC_MMC
 #define CONFIG_BOUNCE_BUFFER
 
+/* USB Configs */
+#define CONFIG_CMD_USB
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_MX6
+#define CONFIG_MXC_USB_PORTSC   (PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+
 #ifdef CONFIG_MX6Q
 #define CONFIG_CMD_SATA
 #endif