summaryrefslogtreecommitdiff
path: root/board/ti/omap5_uevm
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/omap5_uevm')
-rw-r--r--board/ti/omap5_uevm/evm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c
index d0d0e0e..659877c 100644
--- a/board/ti/omap5_uevm/evm.c
+++ b/board/ti/omap5_uevm/evm.c
@@ -95,6 +95,7 @@ int board_usb_init(int index, enum usb_init_type init)
usb_otg_ss_glue.vbus_id_status = OMAP_DWC3_ID_GROUND;
}
+ enable_usb_clocks(index);
ti_usb_phy_uboot_init(&usb_phy_device);
dwc3_omap_uboot_init(&usb_otg_ss_glue);
dwc3_uboot_init(&usb_otg_ss);
@@ -112,6 +113,7 @@ int board_usb_cleanup(int index, enum usb_init_type init)
ti_usb_phy_uboot_exit(index);
dwc3_uboot_exit(index);
dwc3_omap_uboot_exit(index);
+ disable_usb_clocks(index);
return 0;
}