[U-Boot] [PATCH v5 1/3] mx23evk: Enable USB support
Otavio Salvador
otavio at ossystems.com.br
Sat Mar 2 16:17:28 CET 2013
This enabled USB support for the mx23evk board.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
Changes in v5:
- Adapt code to newer multiport support
Changes in v2: None
include/configs/mx23evk.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h
index d206c95..e5a15a4 100644
--- a/include/configs/mx23evk.h
+++ b/include/configs/mx23evk.h
@@ -58,6 +58,7 @@
#define CONFIG_CMD_FAT
#define CONFIG_CMD_GPIO
#define CONFIG_CMD_MMC
+#define CONFIG_CMD_USB
#define CONFIG_CMD_BOOTZ
/* Memory configurations */
@@ -122,6 +123,16 @@
#define CONFIG_MXS_MMC
#endif
+/* USB */
+#ifdef CONFIG_CMD_USB
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_MXS
+#define CONFIG_EHCI_MXS_PORT0
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
+#define CONFIG_EHCI_IS_TDI
+#define CONFIG_USB_STORAGE
+#endif
+
/* Boot Linux */
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
--
1.8.1
More information about the U-Boot
mailing list