mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
usb: host: dwc2: add trace to have clean usb start
Solve issue for the display of "usb start" command on stm32mp1 because one carriage return is missing in DWC2 probe. Before the patch: STM32MP> usb start starting USB... Bus usb-otg@49000000: Bus usbh-ehci@5800d000: USB EHCI 1.00 after the patch: STM32MP> usb start starting USB... Bus usb-otg@49000000: USB DWC2 Bus usbh-ehci@5800d000: USB EHCI 1.00 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
committed by
Marek Vasut
parent
6600438166
commit
245847f065
@@ -1219,6 +1219,8 @@ static int dwc2_init_common(struct udevice *dev, struct dwc2_priv *priv)
|
||||
if (readl(®s->gintsts) & DWC2_GINTSTS_CURMODE_HOST)
|
||||
mdelay(1000);
|
||||
|
||||
printf("USB DWC2\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user