[U-Boot] [PATCH] usb: host: Print device name when scanning
Ismael Luceno Cortes
ismael.luceno at silicon-gears.com
Mon Feb 18 09:23:59 UTC 2019
Signed-off-by: Ismael Luceno <ismael.luceno at silicon-gears.com>
---
drivers/usb/host/usb-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c
index 611ea97a72..0575f5393b 100644
--- a/drivers/usb/host/usb-uclass.c
+++ b/drivers/usb/host/usb-uclass.c
@@ -255,7 +255,7 @@ int usb_init(void)
uclass_foreach_dev(bus, uc) {
/* init low_level USB */
- printf("USB%d: ", count);
+ printf("USB%d(%s): ", count, bus->name);
count++;
#ifdef CONFIG_SANDBOX
--
2.19.1
More information about the U-Boot
mailing list