Merge https://gitlab.denx.de/u-boot/custodians/u-boot-tegra
[oweals/u-boot.git] / include / dwc3-omap-uboot.h
index b313b644392cac160339761e7c5102fd72b04554..7c982e3798b04a68220cdbcd25356ae7990405d0 100644 (file)
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* include/dwc3_omap_uboot.h
  *
  * Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com
  *
  * Designware SuperSpeed OMAP Glue uboot init
- *
- * SPDX-License-Identifier:     GPL-2.0
  */
 
 #ifndef __DWC3_OMAP_UBOOT_H_
@@ -21,7 +20,12 @@ enum omap_dwc3_vbus_id_status {
 
 struct dwc3_omap_device {
        void *base;
+       int index;
        enum dwc3_omap_utmi_mode utmi_mode;
        enum omap_dwc3_vbus_id_status vbus_id_status;
 };
+
+int dwc3_omap_uboot_init(struct dwc3_omap_device *dev);
+void dwc3_omap_uboot_exit(int index);
+int dwc3_omap_uboot_interrupt_status(int index);
 #endif /* __DWC3_OMAP_UBOOT_H_ */