
On Mon, Apr 27, 2015 at 11:30:42PM -0300, Fabio Estevam wrote:
From: Fabio Estevam fabio.estevam@freescale.com
Enable USB Host1 port.
Signed-off-by: Rabeeh Khoury rabeeh@solid-run.com Signed-off-by: Fabio Estevam fabio.estevam@freescale.com
[snip]
diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h index 207a2a6..e7a18c6 100644 --- a/include/configs/mx6cuboxi.h +++ b/include/configs/mx6cuboxi.h @@ -82,6 +82,18 @@ #define CONFIG_IMX_HDMI #define CONFIG_IMX_VIDEO_SKIP
+/* USB */ +#define CONFIG_CMD_USB +#define CONFIG_USB_EHCI +#define CONFIG_USB_EHCI_MX6 +#define CONFIG_USB_STORAGE +#define CONFIG_EHCI_HCD_INIT_AFTER_RESET +#define CONFIG_USB_HOST_ETHER +#define CONFIG_USB_ETHER_ASIX +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) +#define CONFIG_MXC_USB_FLAGS 0 +#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
Since we have FEC do we really need to add ASIX as well? Also, what devices did you test this with for USB? I grabbed a Sandisk USB drive and on the i2eX I have, the bottom USB port doesn't see it and on the top I get: scanning bus 1 for devices... failed to set default configuration len 0, status 80000000