[U-Boot] [PATCH v3] usb: ehci: don't print debug output

Lucas Stach dev at lynxeye.de
Fri Sep 28 00:26:19 CEST 2012


This is clearly some sort of debug output and should not
be printed during normal operation.

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
v2,v3: rebased on top of u-boot-usb/master
---
 drivers/usb/host/ehci-hcd.c | 2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 8537201..d90e94d 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -874,7 +874,7 @@ int usb_lowlevel_init(int index, void **controller)
 
 	reg = ehci_readl(&ehcic[index].hccr->cr_hcsparams);
 	descriptor.hub.bNbrPorts = HCS_N_PORTS(reg);
-	printf("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts);
+	debug("Register %x NbrPorts %d\n", reg, descriptor.hub.bNbrPorts);
 	/* Port Indicators */
 	if (HCS_INDICATOR(reg))
 		put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics)
-- 
1.7.11.4



More information about the U-Boot mailing list