]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/usb/host/ehci-pci.c
ehci-pci: print hccr, hcor and hc_lenght
[people/ms/u-boot.git] / drivers / usb / host / ehci-pci.c
index 441b1a271439580d3b6e7388817e7a2ac7a9418f..cff34389295c5d13ce12d8988bdad47ab8c64c0a 100644 (file)
@@ -28,6 +28,7 @@
 #ifdef CONFIG_PCI_EHCI_DEVICE
 static struct pci_device_id ehci_pci_ids[] = {
        /* Please add supported PCI EHCI controller ids here */
+       {0x1033, 0x00E0},
        {0, 0}
 };
 #endif
@@ -52,6 +53,10 @@ int ehci_hcd_init(void)
        hcor = (struct ehci_hcor *)((uint32_t) hccr +
                        HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
 
+       debug("EHCI-PCI init hccr 0x%x and hcor 0x%x hc_length %d\n",
+                       (uint32_t)hccr, (uint32_t)hcor,
+                       (uint32_t)HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
+
        return 0;
 }