From 57207657a1282f833a8561c4fef4b993a0eb4b29 Mon Sep 17 00:00:00 2001 From: Kishon Vijay Abraham I Date: Mon, 23 Feb 2015 18:40:10 +0530 Subject: 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 Reviewed-by: Lukasz Majewski --- include/dwc3-omap-uboot.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/dwc3-omap-uboot.h') diff --git a/include/dwc3-omap-uboot.h b/include/dwc3-omap-uboot.h index 99f8f38f22..29f02f85de 100644 --- a/include/dwc3-omap-uboot.h +++ b/include/dwc3-omap-uboot.h @@ -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_ */ -- cgit v1.2.1