configs: enable DM_USB and DM_USB_DEV for all DRA7 platforms
[oweals/u-boot.git] / board / ti / dra7xx / evm.c
index b46bda25790cf4dce2d095d5f14110f9334b628c..0ddca29ae607f4569148326d682bdcba16e643d2 100644 (file)
@@ -915,7 +915,7 @@ const struct mmc_platform_fixups *platform_fixups_mmc(uint32_t addr)
 }
 #endif
 
-#ifdef CONFIG_USB_DWC3
+#if defined(CONFIG_USB_DWC3) && !CONFIG_IS_ENABLED(DM_USB)
 static struct dwc3_device usb_otg_ss1 = {
        .maximum_speed = USB_SPEED_SUPER,
        .base = DRA7_USB_OTG_SS1_BASE,