|
@@ -42,14 +42,8 @@ static struct musb_hdrc_config musb_config = {
|
|
};
|
|
};
|
|
|
|
|
|
static struct musb_hdrc_platform_data usb_data = {
|
|
static struct musb_hdrc_platform_data usb_data = {
|
|
-#if defined(CONFIG_USB_MUSB_OTG)
|
|
|
|
/* OTG requires a Mini-AB connector */
|
|
/* OTG requires a Mini-AB connector */
|
|
.mode = MUSB_OTG,
|
|
.mode = MUSB_OTG,
|
|
-#elif defined(CONFIG_USB_MUSB_PERIPHERAL)
|
|
|
|
- .mode = MUSB_PERIPHERAL,
|
|
|
|
-#elif defined(CONFIG_USB_MUSB_HOST)
|
|
|
|
- .mode = MUSB_HOST,
|
|
|
|
-#endif
|
|
|
|
.clock = "usb",
|
|
.clock = "usb",
|
|
.config = &musb_config,
|
|
.config = &musb_config,
|
|
};
|
|
};
|