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>
This commit is contained in:
Kishon Vijay Abraham I 2015-02-23 18:40:05 +05:30 committed by Marek Vasut
parent 8e1906a81f
commit 793d347f53
3 changed files with 30 additions and 9 deletions

View file

@ -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_ */