]> git.sur5r.net Git - u-boot/blobdiff - include/dwc3-uboot.h
include: reset: Change to use CONFIG_IS_ENABLED(DM_RESET)
[u-boot] / include / dwc3-uboot.h
index 272a0207b37fab98514d84a7f1f13755db04f166..228ab3b10294687af132b6c452740d783d3adf49 100644 (file)
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* include/dwc3-uboot.h
  *
  * Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com
  *
  * Designware SuperSpeed USB uboot init
- *
- * SPDX-License-Identifier:     GPL-2.0
  */
 
 #ifndef __DWC3_UBOOT_H_
@@ -13,7 +12,7 @@
 #include <linux/usb/otg.h>
 
 struct dwc3_device {
-       int base;
+       unsigned long base;
        enum usb_dr_mode dr_mode;
        u32 maximum_speed;
        unsigned tx_fifo_resize:1;
@@ -38,4 +37,5 @@ struct dwc3_device {
 
 int dwc3_uboot_init(struct dwc3_device *dev);
 void dwc3_uboot_exit(int index);
+void dwc3_uboot_handle_interrupt(int index);
 #endif /* __DWC3_UBOOT_H_ */