diff mbox

[U-Boot,3/4] mx23_olinuxino: Enable USB support

Message ID 1359400440-12916-3-git-send-email-otavio@ossystems.com.br
State Not Applicable
Headers show

Commit Message

Otavio Salvador Jan. 28, 2013, 7:13 p.m. UTC
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 include/configs/mx23_olinuxino.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Marek Vasut Jan. 28, 2013, 7:15 p.m. UTC | #1
Dear Otavio Salvador,

Missing commit message ... _AGAIN_ ... how many times do I have to repeat 
myself? Write it down or something already :/

> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  include/configs/mx23_olinuxino.h | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/include/configs/mx23_olinuxino.h
> b/include/configs/mx23_olinuxino.h index d019944..e081c49 100644
> --- a/include/configs/mx23_olinuxino.h
> +++ b/include/configs/mx23_olinuxino.h
> @@ -60,6 +60,7 @@
>  #define	CONFIG_CMD_GPIO
>  #define	CONFIG_CMD_LED
>  #define	CONFIG_CMD_MMC
> +#define	CONFIG_CMD_USB
> 
>  /*
>   * Memory configurations
> @@ -140,6 +141,15 @@
>   */
>  #define CONFIG_APBH_DMA
> 
> +/* USB */
> +#ifdef	CONFIG_CMD_USB
> +#define	CONFIG_USB_EHCI
> +#define	CONFIG_USB_EHCI_MXS
> +#define	CONFIG_EHCI_MXS_PORT 0
> +#define	CONFIG_EHCI_IS_TDI
> +#define	CONFIG_USB_STORAGE
> +#endif
> +
>  /*
>   * Boot Linux
>   */

Best regards,
Marek Vasut
Otavio Salvador Jan. 28, 2013, 7:30 p.m. UTC | #2
On Mon, Jan 28, 2013 at 5:15 PM, Marek Vasut <marex@denx.de> wrote:
> Dear Otavio Salvador,
>
> Missing commit message ... _AGAIN_ ... how many times do I have to repeat
> myself? Write it down or something already :/

What I need to put to make it more clear than "Enable USB support"? It
seems clear; it does only it!

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
diff mbox

Patch

diff --git a/include/configs/mx23_olinuxino.h b/include/configs/mx23_olinuxino.h
index d019944..e081c49 100644
--- a/include/configs/mx23_olinuxino.h
+++ b/include/configs/mx23_olinuxino.h
@@ -60,6 +60,7 @@ 
 #define	CONFIG_CMD_GPIO
 #define	CONFIG_CMD_LED
 #define	CONFIG_CMD_MMC
+#define	CONFIG_CMD_USB
 
 /*
  * Memory configurations
@@ -140,6 +141,15 @@ 
  */
 #define CONFIG_APBH_DMA
 
+/* USB */
+#ifdef	CONFIG_CMD_USB
+#define	CONFIG_USB_EHCI
+#define	CONFIG_USB_EHCI_MXS
+#define	CONFIG_EHCI_MXS_PORT 0
+#define	CONFIG_EHCI_IS_TDI
+#define	CONFIG_USB_STORAGE
+#endif
+
 /*
  * Boot Linux
  */