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>
This commit is contained in:
committed by
Stefano Babic
parent
27dc324a10
commit
506abdb4ee
@@ -252,17 +252,11 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user