From c5537fd338ad289e7f2f9cde36ab01c03d7e613d Mon Sep 17 00:00:00 2001 From: Channagoud Kadabi Date: Tue, 4 Feb 2014 17:07:19 -0800 Subject: target: msm8974: Initialize usb interface Initialize target specific usb exposed to usb driver CRs-Fixed: 610350 Change-Id: I6ce9186d458bb0abbd2daeab387006dc49e8e6be --- target/msm8974/init.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'target/msm8974') diff --git a/target/msm8974/init.c b/target/msm8974/init.c index eb287665..b85c0963 100644 --- a/target/msm8974/init.c +++ b/target/msm8974/init.c @@ -394,6 +394,20 @@ void target_fastboot_init(void) #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) { -- cgit v1.2.3