Commit 27cb9ee66bccabea702c10d909788cac7ebe306e

Authored by Ye Li
1 parent 65870d9517

MLK-24079 imx8mp: Disable DWC3 gadget before UUU jumping to kernel

When UUU runs acmd command to boot into kernel, the fastboot never
get chance to exit, so the usb gadget is not disconnected. This causes
kernel USB gadget failed to work.

Re-use iMX8MQ implementation to disconnect DWC3 gadget before jumping
to kernel.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Jun Li <jun.li@nxp.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/arm/mach-imx/imx8m/soc.c
... ... @@ -763,6 +763,7 @@
763 763 }
764 764  
765 765 }
  766 +#endif
766 767  
767 768 void board_quiesce_devices(void)
768 769 {
... ... @@ -771,7 +772,6 @@
771 772 disconnect_from_pc();
772 773 #endif
773 774 }
774   -#endif
775 775  
776 776 int disable_vpu_nodes(void *blob)
777 777 {