]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
usb/xhci: avoid noisy 'Register NbrPorts' message
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 27 Nov 2025 17:54:25 +0000 (18:54 +0100)
committerMarek Vasut <marek.vasut+usb@mailbox.org>
Thu, 27 Nov 2025 18:41:03 +0000 (19:41 +0100)
We should avoid overwhelming users with non-essential messages.

'Register NbrPorts' is a debug message for EHCI. Do the same for XHCI.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Marek Vasut <marek.vasut@mailbox.org>
drivers/usb/host/xhci.c

index 3ee1f67190f0753aa42b85b168b218b87b138261..d59804580f1c0bbeec8d88c4f8c14dfb6b6ab242 100644 (file)
@@ -1249,7 +1249,7 @@ static int xhci_lowlevel_init(struct xhci_ctrl *ctrl)
 
        reg = xhci_readl(&hccr->cr_hcsparams1);
        ctrl->hub_desc.bNbrPorts = HCS_MAX_PORTS(reg);
-       printf("Register %x NbrPorts %d\n", reg, ctrl->hub_desc.bNbrPorts);
+       debug("Register %x NbrPorts %d\n", reg, ctrl->hub_desc.bNbrPorts);
 
        /* Port Indicators */
        reg = xhci_readl(&hccr->cr_hccparams);