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.

S5L8702: Read WDT_BASE from SoC definitions

Tested on ipod6g (normal + bootloader).

No functional change, no binary size change, the only difference is using r3 instead of r1 for the WDT_BASE address value.

Change-Id: I2ce2b7d987671cb4fcbbcdde574437b21a534da0

authored by

Vencislav Atanasov and committed by
Solomon Peachy
037172d5 eb57d428

+3 -3
+3 -3
firmware/target/arm/s5l8702/system-s5l8702.c
··· 247 247 { 248 248 /* Reset the SoC */ 249 249 asm volatile("msr CPSR_c, #0xd3 \n" 250 - "mov r0, #0x100000 \n" 251 - "mov r1, #0x3c800000 \n" 252 - "str r0, [r1] \n"); 250 + "mov r0, #0x100000 \n"); 251 + 252 + asm volatile("str r0, [%0] \n" : : "r"(WDT_BASE)); 253 253 254 254 /* Wait for reboot to kick in */ 255 255 while(1);