[PATCH 1/2] usb: ohci: Add header file for ARCH_DMA_MINALIGN

Simon Glass sjg at chromium.org
Sat May 30 18:29:03 CEST 2020

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 at gmail.com>
Signed-off-by: Simon Glass <sjg at chromium.org>

 drivers/usb/host/ohci.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index 9b264bd92a..a38cd25eb8 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>

More information about the U-Boot mailing list