usb: ohci: Add header file for ARCH_DMA_MINALIGN
authorSimon Glass <sjg@chromium.org>
Sat, 30 May 2020 16:29:03 +0000 (10:29 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 2 Jun 2020 17:06:10 +0000 (13:06 -0400)
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>
drivers/usb/host/ohci.h

index 9b264bd92ab9e11c8be04700153bdfdb7cd23cc0..a38cd25eb85fc0d24a13b07a58aeaac13232ce16 100644 (file)
@@ -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