target: msm8974: target specific usb intialization

Implements target specifc usb init routines.

Change-Id: Ieb4d3567577c2218c64b52666e49ec1f073ab677
diff --git a/target/msm8974/init.c b/target/msm8974/init.c
index 5c8bfef..4b5f8b4 100644
--- a/target/msm8974/init.c
+++ b/target/msm8974/init.c
@@ -725,3 +725,25 @@
 			return "ci";
 	}
 }
+
+/* UTMI MUX configuration to connect PHY to SNPS controller:
+ * Configure primary HS phy mux to use UTMI interface
+ * (connected to usb30 controller).
+ */
+static void tcsr_hs_phy_mux_configure(void)
+{
+	uint32_t reg;
+
+	reg = readl(USB2_PHY_SEL);
+
+	writel(reg | 0x1, USB2_PHY_SEL);
+}
+
+/* configure hs phy mux if using dwc controller */
+void target_usb_phy_mux_configure(void)
+{
+	if(!strcmp(target_usb_controller(), "dwc"))
+	{
+		tcsr_hs_phy_mux_configure();
+	}
+}