GTA04 U-Boot

GTA04 U-Boot Commit Details

Date:2010-11-26 15:43:44 (2 years 5 months ago)
Author:Stefan Roese
Branch:gta04
Commit:a42a9d71b58a789d3c4a1fbfbf400f65699a2689
Parents: 273d72044c383cc49ae7a8a70b2fc32c18b00a41
Message: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: Stefan Roese <sr@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Changes:
Mdrivers/usb/host/ehci-ppc4xx.c (1 diff)

File differences

drivers/usb/host/ehci-ppc4xx.c
3434
3535
3636
37
3837
3938
4039
hccr = (struct ehci_hccr *)(CONFIG_SYS_PPC4XX_USB_ADDR);
hcor = (struct ehci_hcor *)((uint32_t) hccr +
HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
usb_dev_init();
return 0;
}

Archive Download the corresponding diff file

Branches

Tags