|
@@ -545,6 +545,7 @@ static struct platform_device pcm970_sja1000 = {
|
|
|
.num_resources = ARRAY_SIZE(pcm970_sja1000_resources),
|
|
|
};
|
|
|
|
|
|
+#if defined(CONFIG_USB_ULPI)
|
|
|
static struct mxc_usbh_platform_data otg_pdata = {
|
|
|
.portsc = MXC_EHCI_MODE_ULPI,
|
|
|
.flags = MXC_EHCI_INTERFACE_DIFF_UNI,
|
|
@@ -554,6 +555,7 @@ static struct mxc_usbh_platform_data usbh2_pdata = {
|
|
|
.portsc = MXC_EHCI_MODE_ULPI,
|
|
|
.flags = MXC_EHCI_INTERFACE_DIFF_UNI,
|
|
|
};
|
|
|
+#endif
|
|
|
|
|
|
static struct fsl_usb2_platform_data otg_device_pdata = {
|
|
|
.operating_mode = FSL_USB2_DR_DEVICE,
|