diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-02-23 18:40:10 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:48:10 +0200 |
commit | 57207657a1282f833a8561c4fef4b993a0eb4b29 (patch) | |
tree | ca70de24fd99a8eaea26447ae0cd8d39d4cf549f /include/dwc3-omap-uboot.h | |
parent | c241d7eee43e2cd5dedc9b4c16f91559daabc750 (diff) | |
download | u-boot-57207657a1282f833a8561c4fef4b993a0eb4b29.tar.gz u-boot-57207657a1282f833a8561c4fef4b993a0eb4b29.tar.bz2 u-boot-57207657a1282f833a8561c4fef4b993a0eb4b29.zip |
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>
Diffstat (limited to 'include/dwc3-omap-uboot.h')
-rw-r--r-- | include/dwc3-omap-uboot.h | 3 |
1 files changed, 2 insertions, 1 deletions
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_ */ |