summaryrefslogtreecommitdiff
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 @@
28#include "x1000/sfc.h" 28#include "x1000/sfc.h"
29#include "x1000/cpm.h" 29#include "x1000/cpm.h"
30 30
31#ifndef BOOTLOADER_SPL 31/* DMA works, but not in the SPL due to some hardware not being set up right.
32/* DMA only works once the system is properly booted */ 32 * Only the SPL and bootloader actually require flash access, so to keep it
33# define NEED_SFC_DMA 33 * simple, DMA is unconditionally disabled. */
34#endif 34//#define NEED_SFC_DMA
35 35
36#if defined(BOOTLOADER_SPL) 36#if defined(BOOTLOADER_SPL)
37# if X1000_EXCLK_FREQ == 24000000 37# if X1000_EXCLK_FREQ == 24000000