summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-02-23 18:40:05 +0530
committerMarek Vasut <marex@denx.de>2015-04-14 05:48:10 +0200
commit793d347f5372edd4e5b6353df49fac77ce54031c (patch)
tree53179df4b22f06949801fb76791ac1ccc5a64f72 /include
parent8e1906a81f9e98ed538da393e839d6784b8b87fd (diff)
downloadu-boot-imx-793d347f5372edd4e5b6353df49fac77ce54031c.zip
u-boot-imx-793d347f5372edd4e5b6353df49fac77ce54031c.tar.gz
u-boot-imx-793d347f5372edd4e5b6353df49fac77ce54031c.tar.bz2
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')
-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 6d1b42a..272a020 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_ */