From 793d347f5372edd4e5b6353df49fac77ce54031c Mon Sep 17 00:00:00 2001 From: Kishon Vijay Abraham I Date: Mon, 23 Feb 2015 18:40:05 +0530 Subject: dwc3: core: add support for multiple dwc3 controllers Added support for multiple dwc3 controllers. This gives uboot the capability to control multiple dwc3 controllers. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Lukasz Majewski --- include/dwc3-uboot.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/dwc3-uboot.h b/include/dwc3-uboot.h index 6d1b42af039..272a0207b37 100644 --- a/include/dwc3-uboot.h +++ b/include/dwc3-uboot.h @@ -33,8 +33,9 @@ struct dwc3_device { unsigned dis_u2_susphy_quirk; unsigned tx_de_emphasis_quirk; unsigned tx_de_emphasis; + int index; }; int dwc3_uboot_init(struct dwc3_device *dev); -void dwc3_uboot_exit(void); +void dwc3_uboot_exit(int index); #endif /* __DWC3_UBOOT_H_ */ -- cgit v1.2.3