Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Sansa AMS: do not init memory for AS3525v2

(#ifdef rule was broken)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24549 a1c6a512-1295-4272-9138-f99709370657

+5 -3
+5 -3
firmware/target/arm/as3525/system-as3525.c
··· 161 161 ); 162 162 } 163 163 164 - #if defined(BOOTLOADER) && (CONFIG_CPU == AS3525) /* not v2 */ 164 + #if (CONFIG_CPU == AS3525) /* not v2 */ 165 + #if defined(BOOTLOADER) 165 166 static void sdram_delay(void) 166 167 { 167 168 int delay = 1024; /* arbitrary */ ··· 233 234 234 235 MPMC_DYNAMIC_CONFIG_0 |= (1<<19); /* buffer enable */ 235 236 } 236 - #else 237 + #else /* !BOOTLOADER */ 237 238 void memory_init(void) 238 239 { 239 240 ttb_init(); ··· 253 254 254 255 enable_mmu(); 255 256 } 256 - #endif 257 + #endif /* BOOTLOADER */ 258 + #endif /* CONFIG_CPU == AS3525 (not v2) */ 257 259 258 260 void system_init(void) 259 261 {