1
0
Fork 0
forked from len0rd/rockbox

jz7460: Disable IRQ-driven DMA transfers.

This greatly increases the stability of SD card write operations.

(I suspect the underlying problem is not IRQ operation itself, instead
 being exacerbated by it..)

Change-Id: Ia00f0656abd4b3cb0b1b5fc9db7c1b6a02847956
This commit is contained in:
Solomon Peachy 2019-05-22 10:38:06 -04:00
parent e85a3ba518
commit 1e076a7be8

View file

@ -31,7 +31,7 @@
#include "string.h" #include "string.h"
#define SD_DMA_ENABLE 1 #define SD_DMA_ENABLE 1
#define SD_DMA_INTERRUPT 1 #define SD_DMA_INTERRUPT 0
#if NUM_DRIVES > 2 #if NUM_DRIVES > 2
#error "JZ4760 SD driver supports NUM_DRIVES <= 2 only" #error "JZ4760 SD driver supports NUM_DRIVES <= 2 only"