aboutsummaryrefslogtreecommitdiff
path: root/include/dwc3-uboot.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I2015-02-23 18:40:05 +0530
committerMarek Vasut2015-04-14 05:48:10 +0200
commit793d347f5372edd4e5b6353df49fac77ce54031c (patch)
tree53179df4b22f06949801fb76791ac1ccc5a64f72 /include/dwc3-uboot.h
parent8e1906a81f9e98ed538da393e839d6784b8b87fd (diff)
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 <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/dwc3-uboot.h')
-rw-r--r--include/dwc3-uboot.h3
1 files changed, 2 insertions, 1 deletions
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_ */