summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/common/usb.c')
-rw-r--r--src/soc/mediatek/common/usb.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/usb.c b/src/soc/mediatek/common/usb.c
index 52daaac117..b9fe83529d 100644
--- a/src/soc/mediatek/common/usb.c
+++ b/src/soc/mediatek/common/usb.c
@@ -140,7 +140,15 @@ static inline void ssusb_soft_reset(void)
clrbits32(&ippc_regs->ip_pw_ctr0, CTRL0_IP_SW_RST);
}
-__weak void mtk_usb_prepare(void) { /* do nothing */ }
+__weak void mtk_usb_prepare(void)
+{
+ /* do nothing */
+}
+
+__weak void mtk_usb_adjust_phy_shift(void)
+{
+ /* do nothing */
+}
void setup_usb_host(void)
{
@@ -153,5 +161,6 @@ void setup_usb_host(void)
return;
}
u3phy_power_on();
+ mtk_usb_adjust_phy_shift();
u3p_msg("phy power-on done.\n");
}