mips: mtmips: make use of sysreset-resetctrl for mt7628 soc
[oweals/u-boot.git] / common / usb.c
index d9bcb5a57e89f5922aaba1e353a120d82490ef34..686f09a77d1ec7caf151b21dadaa17ec979f7f4e 100644 (file)
@@ -28,6 +28,7 @@
 #include <common.h>
 #include <command.h>
 #include <dm.h>
+#include <malloc.h>
 #include <memalign.h>
 #include <asm/processor.h>
 #include <linux/compiler.h>
@@ -171,6 +172,12 @@ int usb_detect_change(void)
        return change;
 }
 
+/* Lock or unlock async schedule on the controller */
+__weak int usb_lock_async(struct usb_device *dev, int lock)
+{
+       return 0;
+}
+
 /*
  * disables the asynch behaviour of the control message. This is used for data
  * transfers that uses the exclusiv access to the control and bulk messages.