diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-04-27 15:30:01 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-04-28 13:52:52 +0200 |
commit | 245847f06570a74ecff59809a2befc1dce7a354e (patch) | |
tree | 63a0221a733c3cf186a360fea57cd25512a3860c | |
parent | 66004381661386d14183a436c5e0caeb19f4b415 (diff) | |
download | u-boot-245847f06570a74ecff59809a2befc1dce7a354e.tar.gz |
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>
-rw-r--r-- | drivers/usb/host/dwc2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index 640ae3e730..f25ed2dab0 100644 --- a/drivers/usb/host/dwc2.c +++ b/drivers/usb/host/dwc2.c @@ -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; } |