Browse Source

Marvell/Library: UtmiLib: Fix USB mux configuration

If UTMI connected to USB Device, the MUX must be configured
prior to the PHY init. Add missing register update in the
relevant code.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Marcin Wojtas 4 years ago
parent
commit
66d22b1b44
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Silicon/Marvell/Library/UtmiPhyLib/UtmiPhyLib.c

+ 1 - 0
Silicon/Marvell/Library/UtmiPhyLib/UtmiPhyLib.c

@@ -79,6 +79,7 @@ UtmiPhyPowerDown (
   } else {
     Data = 0x0 << UTMI_USB_CFG_DEVICE_EN_OFFSET;
   }
+  RegSet (UsbCfgAddr, Data, Mask);
 
   /* Set Test suspendm mode */
   Mask = UTMI_CTRL_STATUS0_SUSPENDM_MASK;