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.

iPod S5L87xx bootloader: Move variable declaration to avoid macros

No change in the bootloader binary for ipod6g.

Change-Id: I17a91ec8a710250b5400b06f9520360b814d1184

authored by

Vencislav Atanasov and committed by
Solomon Peachy
fc4e0d91 4930fac0

+2 -7
+2 -7
bootloader/ipod-s5l87xx.c
··· 613 613 { 614 614 int rc = 0; 615 615 616 - #ifndef S5L87XX_DEVELOPMENT_BOOTLOADER 617 - unsigned char *loadbuffer; 618 - int (*kernel_entry)(void); 619 - #endif 620 - 621 616 usec_timer_init(); 622 617 623 618 #ifdef S5L87XX_DEVELOPMENT_BOOTLOADER ··· 763 758 } 764 759 765 760 printf("Loading Rockbox..."); 766 - loadbuffer = (unsigned char *)DRAM_ORIG; 761 + unsigned char *loadbuffer = (unsigned char *)DRAM_ORIG; 767 762 rc = load_firmware(loadbuffer, BOOTFILE, MAX_LOADSIZE); 768 763 769 764 if (rc <= EFILE_EMPTY) { ··· 778 773 /* If we get here, we have a new firmware image at 0x08000000, run it */ 779 774 disable_irq(); 780 775 781 - kernel_entry = (void*) loadbuffer; 776 + int (*kernel_entry)(void) = (void*)loadbuffer; 782 777 commit_discard_idcache(); 783 778 rc = kernel_entry(); 784 779