diff options
author | Marek Vasut | 2017-10-22 10:22:40 +0200 |
---|---|---|
committer | Stefano Babic | 2017-10-31 11:11:10 +0100 |
commit | 506abdb4ee9664cc0d6d1321e96f7fb8dae72eb9 (patch) | |
tree | 30d3cd3c99be7d37b7282f62d4c3a8852cf226c8 /board/dhelectronics | |
parent | 27dc324a10de431a58e87abb84b18efea7eb734e (diff) |
ARM: imx6: Enable UMS and DFU on DHCOM i.MX6 PDK
Enable UMS and DFU, so that the eMMC can be accessed via the
USB gadget port on the board.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/dhelectronics')
-rw-r--r-- | board/dhelectronics/dh_imx6/dh_imx6.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c index c76da4d2af9..b00d0e4b6d8 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -253,16 +253,10 @@ static void setup_usb(void) int board_usb_phy_mode(int port) { - return USB_INIT_HOST; -} - -/* Use only Port 1 == DHCOM USB Host 1 */ -int board_ehci_hcd_init(int port) -{ if (port == 1) - return 0; + return USB_INIT_HOST; else - return -ENODEV; + return USB_INIT_DEVICE; } int board_ehci_power(int port, int on) |