]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/host/ehci-mx5.c
Merge git://git.denx.de/u-boot-arc
[u-boot] / drivers / usb / host / ehci-mx5.c
index a397d2409fd91816dc85db01ad47ccb8fc5263e6..7566c61284eb2c29d2a0fc1cc423e4fd219570f1 100644 (file)
@@ -218,15 +218,16 @@ void __weak board_ehci_hcd_postinit(struct usb_ehci *ehci, int port)
 {
 }
 
-int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor)
+int ehci_hcd_init(int index, enum usb_init_type init,
+               struct ehci_hccr **hccr, struct ehci_hcor **hcor)
 {
        struct usb_ehci *ehci;
 
        set_usboh3_clk();
-       enable_usboh3_clk(1);
+       enable_usboh3_clk(true);
        set_usb_phy_clk();
-       enable_usb_phy1_clk(1);
-       enable_usb_phy2_clk(1);
+       enable_usb_phy1_clk(true);
+       enable_usb_phy2_clk(true);
        mdelay(1);
 
        /* Do board specific initialization */