[U-Boot] [PATCH 09/10] mx23_olinuxino: Enable USB support

Otavio Salvador otavio at ossystems.com.br
Wed Jan 30 13:13:20 CET 2013


This enabled USB support for the mx23_olinuxino board.

Signed-off-by: Otavio Salvador <otavio at 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 968aec8..7e17809 100644
--- a/include/configs/mx23_olinuxino.h
+++ b/include/configs/mx23_olinuxino.h
@@ -58,6 +58,7 @@
 #define	CONFIG_CMD_GPIO
 #define	CONFIG_CMD_LED
 #define	CONFIG_CMD_MMC
+#define	CONFIG_CMD_USB
 
 /*
  * Memory configurations
@@ -138,6 +139,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
  */
-- 
1.8.1



More information about the U-Boot mailing list