summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2014-11-03 11:32:25 +0200
committerTom Rini <trini@ti.com>2014-11-06 11:04:41 -0500
commit011f5c13f8b6734b0e34b016842a8b93b6902d30 (patch)
tree13cc75abd4608cf817326d999a9c275365b6ce2d /include/configs
parentb09bf72317e3bb939d29fbfc149fa0a2d993c48a (diff)
downloadu-boot-imx-011f5c13f8b6734b0e34b016842a8b93b6902d30.zip
u-boot-imx-011f5c13f8b6734b0e34b016842a8b93b6902d30.tar.gz
u-boot-imx-011f5c13f8b6734b0e34b016842a8b93b6902d30.tar.bz2
omap3: cm-t3517: add USB support
Add both host and mUSB support. Currently, the selection between host USB and mUSB is done through the config file. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/cm_t3517.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
index d691b9f..046649d 100644
--- a/include/configs/cm_t3517.h
+++ b/include/configs/cm_t3517.h
@@ -98,6 +98,23 @@
#define CONFIG_OMAP_HSMMC
#define CONFIG_DOS_PARTITION
+/* USB */
+#define CONFIG_USB_MUSB_AM35X
+
+#ifndef CONFIG_USB_MUSB_AM35X
+#define CONFIG_USB_OMAP3
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_OMAP
+#define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO 146
+#define CONFIG_OMAP_EHCI_PHY2_RESET_GPIO 147
+#else /* !CONFIG_USB_MUSB_AM35X */
+#define CONFIG_MUSB_HOST
+#define CONFIG_MUSB_PIO_ONLY
+#endif /* CONFIG_USB_MUSB_AM35X */
+
+#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_USB
+
/* commands to include */
#include <config_cmd_default.h>