mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
cm_t35: use new low level interface for usb ehci
Update usb host support to use new version of omap_ehci_hcd_init. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
This commit is contained in:
parent
854a7836dc
commit
41984e7123
@ -503,7 +503,7 @@ struct omap_usbhs_board_data usbhs_bdata = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define SB_T35_USB_HUB_RESET_GPIO 167
|
#define SB_T35_USB_HUB_RESET_GPIO 167
|
||||||
int ehci_hcd_init(void)
|
int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor)
|
||||||
{
|
{
|
||||||
u8 val;
|
u8 val;
|
||||||
int offset;
|
int offset;
|
||||||
@ -529,7 +529,7 @@ int ehci_hcd_init(void)
|
|||||||
twl4030_i2c_write_u8(TWL4030_CHIP_GPIO, 0xC0, offset);
|
twl4030_i2c_write_u8(TWL4030_CHIP_GPIO, 0xC0, offset);
|
||||||
udelay(1);
|
udelay(1);
|
||||||
|
|
||||||
return omap_ehci_hcd_init(&usbhs_bdata);
|
return omap_ehci_hcd_init(&usbhs_bdata, hccr, hcor);
|
||||||
}
|
}
|
||||||
|
|
||||||
int ehci_hcd_stop(void)
|
int ehci_hcd_stop(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user