Skip to content
Snippets Groups Projects
Commit a42a9d71 authored by Stefan Roese's avatar Stefan Roese Committed by Remy Bohmer
Browse files

usb: Remove usb_dev_init() from ehci-ppc4xx.c


Calling usb_dev_init() from within the EHCI host driver is wrong.
The EHCI host driver should have no dependency/interconnection to the
USB device driver.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
parent 273d7204
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,6 @@ int ehci_hcd_init(void) ...@@ -34,7 +34,6 @@ int ehci_hcd_init(void)
hccr = (struct ehci_hccr *)(CONFIG_SYS_PPC4XX_USB_ADDR); hccr = (struct ehci_hccr *)(CONFIG_SYS_PPC4XX_USB_ADDR);
hcor = (struct ehci_hcor *)((uint32_t) hccr + hcor = (struct ehci_hcor *)((uint32_t) hccr +
HC_LENGTH(ehci_readl(&hccr->cr_capbase))); HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
usb_dev_init();
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment