[PATCH rtems-libbsd 6/7] imx: Don't use USB_NEED_BUSDMA_COHERENT_ALLOC

Christian Mauderer christian.mauderer at embedded-brains.de
Fri Jul 17 05:56:19 UTC 2020


That option makes problems with some drivers because the buffers are not
allways cache line aligned.
---
 rtemsbsd/include/rtems/bsd/local/opt_usb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtemsbsd/include/rtems/bsd/local/opt_usb.h b/rtemsbsd/include/rtems/bsd/local/opt_usb.h
index 9f654863..a4138d5b 100644
--- a/rtemsbsd/include/rtems/bsd/local/opt_usb.h
+++ b/rtemsbsd/include/rtems/bsd/local/opt_usb.h
@@ -7,7 +7,7 @@
 
 #define USB_HAVE_BUSDMA 1
 
-#if !defined(LIBBSP_ARM_IMX_BSP_H) && !defined(LIBBSP_ARM_STM32H7_BSP_H)
+#if !defined(LIBBSP_ARM_STM32H7_BSP_H)
 #define USB_NEED_BUSDMA_COHERENT_ALLOC 1
 #endif
 
-- 
2.26.2



More information about the devel mailing list