summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-04-25 14:11:28 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-04-25 14:16:12 +0000
commita2dfafb2b266ad5841306e96adb3abfbe9ae87a6 (patch)
tree591c62a98f53c4cdb2ac7e037cb6e86b6409894c
parentd6220f618ba6daa043f70e42e421b8fad79e7731 (diff)
downloadrockbox-a2dfafb2b266ad5841306e96adb3abfbe9ae87a6.tar.gz
rockbox-a2dfafb2b266ad5841306e96adb3abfbe9ae87a6.zip
X1000: disable SFC DMA
Change-Id: Ia33896b4a19da6eaaf3e5c057891ab10d75f31e1
-rw-r--r--firmware/target/mips/ingenic_x1000/sfc-x1000.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/mips/ingenic_x1000/sfc-x1000.c b/firmware/target/mips/ingenic_x1000/sfc-x1000.c
index 9537cdc035..4a79be849e 100644
--- a/firmware/target/mips/ingenic_x1000/sfc-x1000.c
+++ b/firmware/target/mips/ingenic_x1000/sfc-x1000.c
@@ -28,10 +28,10 @@
#include "x1000/sfc.h"
#include "x1000/cpm.h"
-#ifndef BOOTLOADER_SPL
-/* DMA only works once the system is properly booted */
-# define NEED_SFC_DMA
-#endif
+/* DMA works, but not in the SPL due to some hardware not being set up right.
+ * Only the SPL and bootloader actually require flash access, so to keep it
+ * simple, DMA is unconditionally disabled. */
+//#define NEED_SFC_DMA
#if defined(BOOTLOADER_SPL)
# if X1000_EXCLK_FREQ == 24000000