dwc3: dwc3-omap: add support for multiple dwc3-omap controllers

Added support for multiple dwc3 omap controllers. This gives uboot
the capability to control multiple dwc3 omap controllers.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
This commit is contained in:
Kishon Vijay Abraham I
2015-02-23 18:40:10 +05:30
committed by Marek Vasut
parent c241d7eee4
commit 57207657a1
2 changed files with 22 additions and 7 deletions

View File

@ -21,10 +21,11 @@ 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(void);
void dwc3_omap_uboot_exit(int index);
#endif /* __DWC3_OMAP_UBOOT_H_ */