From: Tom Rini Date: Tue, 28 Apr 2015 10:48:43 -0400 Subject: [U-Boot] [PATCH 2/4] mx6cuboxi: Add USB host support In-Reply-To: <1430188244-28216-2-git-send-email-festevam@gmail.com> References: <1430188244-28216-1-git-send-email-festevam@gmail.com> <1430188244-28216-2-git-send-email-festevam@gmail.com> Message-ID: <20150428144843.GJ16702@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Apr 27, 2015 at 11:30:42PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Enable USB Host1 port. > > Signed-off-by: Rabeeh Khoury > Signed-off-by: Fabio Estevam [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 -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: