forked from xuos/xiuos
Add DWC3 codes
This commit is contained in:
@@ -9,6 +9,11 @@
|
||||
#include "gadget.h"
|
||||
#include "usb_phy.h"
|
||||
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||
#define CACHELINE_SIZE CONFIG_SYS_CACHELINE_SIZE
|
||||
|
||||
|
||||
|
||||
#define DWC3_MSG_MAX 500
|
||||
|
||||
/* Global constants */
|
||||
@@ -632,7 +637,7 @@ struct dwc3 {
|
||||
struct usb_gadget_driver *gadget_driver;
|
||||
uintptr_t regs;
|
||||
uint32_t regs_size;
|
||||
enum dwc3_phy dr_mode;
|
||||
enum usb_dr_mode dr_mode;
|
||||
enum usb_phy_interface hsphy_mode;
|
||||
/* used for suspend/resume */
|
||||
uint32_t dcfg;
|
||||
@@ -881,4 +886,7 @@ int dwc3_core_init_mode(struct dwc3 *dwc);
|
||||
void dwc3_set_mode(struct dwc3 *dwc, uint32_t mode);
|
||||
|
||||
int dwc3_host_init(struct dwc3 *dwc);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user