rockchip: rk3188: Add core support
[oweals/u-boot.git] / include / dwc3-uboot.h
index 6d1b42af0395efccaf9ba07013c054a380287922..7af2ad11e4ed30f0453c299be594c6688d111b42 100644 (file)
@@ -13,7 +13,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;
@@ -33,8 +33,10 @@ struct dwc3_device {
        unsigned dis_u2_susphy_quirk;
        unsigned tx_de_emphasis_quirk;
        unsigned tx_de_emphasis;
+       int index;
 };
 
 int dwc3_uboot_init(struct dwc3_device *dev);
-void dwc3_uboot_exit(void);
+void dwc3_uboot_exit(int index);
+void dwc3_uboot_handle_interrupt(int index);
 #endif /* __DWC3_UBOOT_H_ */