[rtems-libbsd commit] imx: Don't use USB_NEED_BUSDMA_COHERENT_ALLOC

Christian Mauderer christianm at rtems.org
Fri Jul 31 06:32:44 UTC 2020


Module:    rtems-libbsd
Branch:    master
Commit:    828969e52502d695ba294ab3827c9b81c85034d0
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=828969e52502d695ba294ab3827c9b81c85034d0

Author:    Christian Mauderer <christian.mauderer at embedded-brains.de>
Date:      Wed May 27 09:55:43 2020 +0200

imx: Don't use USB_NEED_BUSDMA_COHERENT_ALLOC

That option makes problems with some drivers because the buffers are not
allways cache line aligned.

Update 3869

---

 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 9f65486..a4138d5 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
 



More information about the vc mailing list