summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci.h
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2015-07-27 03:40:18 (GMT)
committerTom Rini <trini@konsulko.com>2015-08-13 00:47:48 (GMT)
commite0266f4942f22d3111a5365f3b2c33ecd55730eb (patch)
tree06ed81a4bca1897d2fc3d04e05274ce630bde98d /drivers/usb/host/ohci.h
parent633b6ccedf9d536fd93299b2207a5227dedd987c (diff)
downloadu-boot-fsl-qoriq-e0266f4942f22d3111a5365f3b2c33ecd55730eb.tar.xz
usb: ohci: enable cache support
Remove the CONFIG_DM_USB limitation to enable cache support functions. Tested on SAMA5D3x-EK board. Signed-off-by: Josh Wu <josh.wu@atmel.com> Acked-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/usb/host/ohci.h')
-rw-r--r--drivers/usb/host/ohci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index f1526d4..9b0c4a2 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -18,7 +18,7 @@
# define ohci_writel(a, b) (*((volatile u32 *)(b)) = ((volatile u32)a))
#endif /* CONFIG_SYS_OHCI_SWAP_REG_ACCESS */
-#if defined CONFIG_DM_USB && ARCH_DMA_MINALIGN > 16
+#if ARCH_DMA_MINALIGN > 16
#define ED_ALIGNMENT ARCH_DMA_MINALIGN
#else
#define ED_ALIGNMENT 16