summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-pp502x.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/system-pp502x.c')
-rw-r--r--firmware/target/arm/system-pp502x.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index 10a7651f7b..2b6bd3f717 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -169,6 +169,7 @@ void ICODE_ATTR cpucache_flush(void)
169 { 169 {
170 CACHE_OPERATION |= CACHE_OP_FLUSH; 170 CACHE_OPERATION |= CACHE_OP_FLUSH;
171 while ((CACHE_CTL & CACHE_CTL_BUSY) != 0); 171 while ((CACHE_CTL & CACHE_CTL_BUSY) != 0);
172 nop; nop; nop; nop;
172 } 173 }
173} 174}
174 175
@@ -470,11 +471,6 @@ void system_init(void)
470 GPIOK_INT_EN = 0; 471 GPIOK_INT_EN = 0;
471 GPIOL_INT_EN = 0; 472 GPIOL_INT_EN = 0;
472 473
473#if defined(SANSA_E200) || defined(SANSA_C200) || defined(PHILIPS_SA9200)
474 /* outl(0x00000000, 0x6000b000); */
475 outl(inl(0x6000a000) | 0x80000000, 0x6000a000); /* Init DMA controller? */
476#endif
477
478#ifdef HAVE_ADJUSTABLE_CPU_FREQ 474#ifdef HAVE_ADJUSTABLE_CPU_FREQ
479#if NUM_CORES > 1 475#if NUM_CORES > 1
480 corelock_init(&cpufreq_cl); 476 corelock_init(&cpufreq_cl);