|
@@ -306,7 +306,7 @@ void __init plat_swiotlb_setup(void)
|
|
swiotlbsize = 64 * (1<<20);
|
|
swiotlbsize = 64 * (1<<20);
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
-#ifdef CONFIG_USB_OCTEON_OHCI
|
|
|
|
|
|
+#ifdef CONFIG_USB_OHCI_HCD_PLATFORM
|
|
/* OCTEON II ohci is only 32-bit. */
|
|
/* OCTEON II ohci is only 32-bit. */
|
|
if (OCTEON_IS_OCTEON2() && max_addr >= 0x100000000ul)
|
|
if (OCTEON_IS_OCTEON2() && max_addr >= 0x100000000ul)
|
|
swiotlbsize = 64 * (1<<20);
|
|
swiotlbsize = 64 * (1<<20);
|