target: msm8974: Initialize usb interface
Initialize target specific usb exposed to usb driver
CRs-Fixed: 610350
Change-Id: I6ce9186d458bb0abbd2daeab387006dc49e8e6be
diff --git a/target/msm8974/init.c b/target/msm8974/init.c
index eb28766..b85c096 100644
--- a/target/msm8974/init.c
+++ b/target/msm8974/init.c
@@ -394,6 +394,20 @@
#endif
}
+/* Initialize target specific USB handlers */
+target_usb_iface_t* target_usb30_init()
+{
+ target_usb_iface_t *t_usb_iface;
+
+ t_usb_iface = calloc(1, sizeof(target_usb_iface_t));
+ ASSERT(t_usb_iface);
+
+ t_usb_iface->mux_config = target_usb_phy_mux_configure;
+ t_usb_iface->clock_init = clock_usb30_init;
+
+ return t_usb_iface;
+}
+
/* Detect the target type */
void target_detect(struct board_data *board)
{