Revert "platform: msm_shared: Update usb3.0 driver with platform specific changes"
Remove support for unused 8x62 platform.
This reverts commit 16b23bc528079b56087f0d0b127a18385c00881f.
CRs-Fixed: 610350
Change-Id: I54b32911be50b1834a55a480b4eac5cf643b25ea
diff --git a/platform/msm_shared/usb30_udc.c b/platform/msm_shared/usb30_udc.c
index 765391e..ebb1da1 100644
--- a/platform/msm_shared/usb30_udc.c
+++ b/platform/msm_shared/usb30_udc.c
@@ -113,11 +113,6 @@
return 0;
}
-__WEAK int platform_is_8x62()
-{
- return 0;
-}
-
static void phy_mux_configure(void)
{
/* configuring of hs phy mux is different for some platforms. */
@@ -127,7 +122,7 @@
static void phy_reset(usb_wrapper_dev_t *wrapper)
{
/* phy reset is different for some platforms. */
- if (platform_is_8974() || platform_is_8974Pro() || platform_is_8x62())
+ if (platform_is_8974() || platform_is_8974Pro())
{
/* SS PHY */
usb_wrapper_ss_phy_reset(wrapper);
@@ -153,7 +148,7 @@
void hs_phy_init(udc_t *dev)
{
/* only for 8974 */
- if (platform_is_8974() || platform_is_8974Pro() || platform_is_8x62())
+ if (platform_is_8974() || platform_is_8974Pro())
{
/* 5.a, 5.b */
usb_wrapper_hs_phy_init(dev->wrapper_dev);