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

login
register
mail settings
Submitter Dirk Behme
Date Jan. 22, 2013, 9:11 a.m.
Message ID <1358845881-21155-1-git-send-email-dirk.behme@de.bosch.com>
Download mbox | patch
Permalink /patch/214477/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Dirk Behme - Jan. 22, 2013, 9:11 a.m.
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(-)
Stefano Babic - Jan. 28, 2013, 5:44 a.m.
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

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