From a2dfafb2b266ad5841306e96adb3abfbe9ae87a6 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 25 Apr 2021 14:11:28 +0100 Subject: X1000: disable SFC DMA Change-Id: Ia33896b4a19da6eaaf3e5c057891ab10d75f31e1 --- firmware/target/mips/ingenic_x1000/sfc-x1000.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/target') 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 -- cgit v1.2.3