SAMV7 HSMCI: Change system bus interfaces seems to eliminate DMA failures.
This commit is contained in:
parent
c2049956a4
commit
6b1202d17f
@ -82,12 +82,14 @@
|
|||||||
# error "HSMCI support requires CONFIG_SAMV7_XDMAC"
|
# error "HSMCI support requires CONFIG_SAMV7_XDMAC"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* System Bus Interfaces
|
/* System Bus Interfaces */
|
||||||
* REVISIT: The SAMV71 supports only a single APB
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define HSMCI_SYSBUS_IF DMACH_FLAG_PERIPHAHB_AHB_IF0
|
#ifdef CONFIG_ARCH_CHIP_SAMV71
|
||||||
#define MEMORY_SYSBUS_IF DMACH_FLAG_MEMAHB_AHB_IF0
|
# define HSMCI_SYSBUS_IF DMACH_FLAG_PERIPHAHB_AHB_IF1
|
||||||
|
# define MEMORY_SYSBUS_IF DMACH_FLAG_MEMAHB_AHB_IF0
|
||||||
|
#else
|
||||||
|
# error Missing bus interface definitions
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_SCHED_WORKQUEUE
|
#ifndef CONFIG_SCHED_WORKQUEUE
|
||||||
# error "Callback support requires CONFIG_SCHED_WORKQUEUE"
|
# error "Callback support requires CONFIG_SCHED_WORKQUEUE"
|
||||||
|
Loading…
Reference in New Issue
Block a user