]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/host/ehci-mx5.c
Revert "cfi_flash: Use uintptr_t for casts from u32 to void *"
[u-boot] / drivers / usb / host / ehci-mx5.c
index 7e60c3c3bf20e75f00e0a79286304de747590708..adbed5c90ca54717baa7e42d42a41fdf3599716f 100644 (file)
@@ -290,12 +290,14 @@ int mxc_set_usbcontrol(int port, unsigned int flags)
        return ret;
 }
 
-void __board_ehci_hcd_postinit(struct usb_ehci *ehci, int port)
+int __weak board_ehci_hcd_init(int port)
 {
+       return 0;
 }
 
-void board_ehci_hcd_postinit(struct usb_ehci *ehci, int port)
-       __attribute((weak, alias("__board_ehci_hcd_postinit")));
+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)
 {