diff mbox

[U-Boot,v2] mx6qsabreauto: enable USB host interface

Message ID 1358845881-21155-1-git-send-email-dirk.behme@de.bosch.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Dirk Behme Jan. 22, 2013, 9:11 a.m. UTC
From: Knut Wohlrab <knut.wohlrab@de.bosch.com>

The USB host interface is routed to plug USB1/J30 on the mother board.

Signed-off-by: Knut Wohlrab <knut.wohlrab@de.bosch.com>
---
Changes in v2:
- Don't add an empty board_ehci_hcd_init() to mx6qsabreauto.c. It's
  not needed because board_ehci_hcd_init() is declared as weak.

 include/configs/mx6qsabreauto.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

Comments

Stefano Babic Jan. 28, 2013, 5:44 a.m. UTC | #1
On 22/01/2013 10:11, Dirk Behme wrote:
> From: Knut Wohlrab <knut.wohlrab@de.bosch.com>
> 
> The USB host interface is routed to plug USB1/J30 on the mother board.
> 
> Signed-off-by: Knut Wohlrab <knut.wohlrab@de.bosch.com>
> ---


Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
index f4a082a..f2ff3e1 100644
--- a/include/configs/mx6qsabreauto.h
+++ b/include/configs/mx6qsabreauto.h
@@ -19,6 +19,17 @@ 
 #define CONFIG_MMCROOT			"/dev/mmcblk0p2"
 #define PHYS_SDRAM_SIZE		(2u * 1024 * 1024 * 1024)
 
+/* USB Configs */
+#define CONFIG_CMD_USB
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_MX6
+#define CONFIG_USB_STORAGE
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_MXC_USB_PORT	1
+#define CONFIG_MXC_USB_PORTSC	(PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CONFIG_MXC_USB_FLAGS	0
+
 #include "mx6qsabre_common.h"
 
 #define CONFIG_SYS_FSL_USDHC_NUM	2