MLK-18316 imx8: Fix USBOTG disconnect when XRDC blocking is enabled
We clean USBOTG register USBCMD if it is used in serial download mode.
When XRDC blocking is enabled, we can't write this register directly,
must enable the OTG power, otherwise the kernel will get SError
exception in mfgtool.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
cf2143dc97b2a8f21b828c7386c59ee965d981f2)
(cherry picked from commit
55dd2c8e17eca27b3d393be9fd84a153ce7bf37b)
(cherry picked from commit
4cadac201b480ac28dcbb27903489a98c0303a3d)
(cherry picked from commit
60d41ce815e5bd63952794d2868ee7dd3be54157)