mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 06:26:46 +08:00
usb_busdma: Add USB_NEED_BUSDMA_COHERENT_ALLOC
Some BSPs have a cache-coherent memory area, however, it should not be used for the USB controller.
This commit is contained in:

committed by
Christian Mauderer

parent
0444b24bf9
commit
bd7af5fcee
@@ -1,4 +1,5 @@
|
||||
#include <rtems/bsd/modules.h>
|
||||
#include <bsp.h>
|
||||
|
||||
#define USB_HAVE_CONDVAR 1
|
||||
|
||||
@@ -6,6 +7,10 @@
|
||||
|
||||
#define USB_HAVE_BUSDMA 1
|
||||
|
||||
#if !defined(LIBBSP_ARM_IMX_BSP_H) && !defined(LIBBSP_ARM_STM32H7_BSP_H)
|
||||
#define USB_NEED_BUSDMA_COHERENT_ALLOC 1
|
||||
#endif
|
||||
|
||||
#define USB_HAVE_COMPAT_LINUX 0
|
||||
|
||||
#define USB_HAVE_USER_IO 0
|
||||
|
Reference in New Issue
Block a user