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 | |
parent | c241d7eee43e2cd5dedc9b4c16f91559daabc750 (diff) | |
download | u-boot-imx-57207657a1282f833a8561c4fef4b993a0eb4b29.zip u-boot-imx-57207657a1282f833a8561c4fef4b993a0eb4b29.tar.gz u-boot-imx-57207657a1282f833a8561c4fef4b993a0eb4b29.tar.bz2 |
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')
-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 99f8f38..29f02f8 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_ */ |