diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2019-02-08 18:12:15 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-04-13 20:30:08 +0200 |
commit | 9fb4b8929a5d5de813f43bc8cf6a321795ebea94 (patch) | |
tree | 79ca6dab678ad66a9471403c1042526f3836d0e9 /board/toradex | |
parent | 72b49e2c1e52e25591a674304824396d75de992e (diff) | |
download | u-boot-9fb4b8929a5d5de813f43bc8cf6a321795ebea94.tar.gz |
apalis_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')
-rw-r--r-- | board/toradex/apalis_imx6/apalis_imx6.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index 34e78ddb44..220cbff0b4 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -271,28 +271,6 @@ 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 */ - gpio_direction_output(GPIO_USBO_EN, on); - mdelay(100); - break; - case 1: - /* Control MXM USBH */ - gpio_direction_output(GPIO_USBH_EN, on); - mdelay(2); - /* Control onboard USB Hub VBUS */ - gpio_direction_output(GPIO_USB_VBUS_DET, on); - mdelay(100); - break; - default: - break; - } - return 0; -} #endif #if defined(CONFIG_FSL_ESDHC) && defined(CONFIG_SPL_BUILD) |