summaryrefslogtreecommitdiff
path: root/board/toradex/colibri_imx6/colibri_imx6.c
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-02-08 18:42:15 +0100
committerStefano Babic <sbabic@denx.de>2019-04-13 20:30:09 +0200
commit7b726c0942a5dee81e617b170a030a4e0f95f860 (patch)
tree129c90e17e41fbd21826d8fe17d3f8c1f860e164 /board/toradex/colibri_imx6/colibri_imx6.c
parentd141b75cbf628a1e16eeeda43b44bee1845b65bd (diff)
colibri_imx6: migrate usb to using driver model
Migrate USB to using driver model. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'board/toradex/colibri_imx6/colibri_imx6.c')
-rw-r--r--board/toradex/colibri_imx6/colibri_imx6.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c
index 1238474d7e..aaffcf565f 100644
--- a/board/toradex/colibri_imx6/colibri_imx6.c
+++ b/board/toradex/colibri_imx6/colibri_imx6.c
@@ -289,28 +289,7 @@ int board_ehci_hcd_init(int port)
imx_iomux_v3_setup_multiple_pads(usb_pads, ARRAY_SIZE(usb_pads));
return 0;
}
-
-int board_ehci_power(int port, int on)
-{
- switch (port) {
- case 0:
- /* control OTG power */
- /* No special PE for USBC, always on when ID pin signals
- host mode */
- break;
- case 1:
- /* Control MXM USBH */
- /* Set MXM USBH power enable, '0' means on */
- gpio_request(GPIO_USBH_EN, "USBH_EN");
- gpio_direction_output(GPIO_USBH_EN, !on);
- mdelay(100);
- break;
- default:
- break;
- }
- return 0;
-}
-#endif /* CONFIG_USB_EHCI_MX6 */
+#endif
#if defined(CONFIG_FSL_ESDHC) && defined(CONFIG_SPL_BUILD)
/* use the following sequence: eMMC, MMC */