diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2014-11-03 11:32:25 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-06 11:04:41 -0500 |
commit | 011f5c13f8b6734b0e34b016842a8b93b6902d30 (patch) | |
tree | 13cc75abd4608cf817326d999a9c275365b6ce2d /include/configs/cm_t3517.h | |
parent | b09bf72317e3bb939d29fbfc149fa0a2d993c48a (diff) |
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/cm_t3517.h')
-rw-r--r-- | include/configs/cm_t3517.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h index d691b9fa50c..046649db975 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> |