aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-30 10:29:03 -0600
committerTom Rini <trini@konsulko.com>2020-06-02 13:06:10 -0400
commit72be2375614a6e5036a8c3207b187ac318a74991 (patch)
tree376a235a21d30b97a135ce4777932848edc207b3 /drivers/usb/host
parent371a2e775322bd995a945f108c5c91bde342062a (diff)
downloadu-boot-72be2375614a6e5036a8c3207b187ac318a74991.zip
u-boot-72be2375614a6e5036a8c3207b187ac318a74991.tar.gz
u-boot-72be2375614a6e5036a8c3207b187ac318a74991.tar.bz2
usb: ohci: Add header file for ARCH_DMA_MINALIGN
This is defined in the asm/cache.h header file. Update this header file to include it so it gets the same value consistently across U-Boot. This fixes 'usb host' on omapl138_lcdk. Fixes: 90526e9fbac ("common: Drop net.h from common header") Reported-by: Adam Ford <aford173@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ohci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index 9b264bd..a38cd25 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -11,6 +11,7 @@
* e.g. PCI controllers need this
*/
+#include <asm/cache.h>
#include <asm/io.h>
#ifdef CONFIG_SYS_OHCI_SWAP_REG_ACCESS