A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

xduoox3: Completely strip USB support out of the bootloader.

Change-Id: I7167e051a56a3be3c285c209b1c8fca7de251b09

+4 -21
-19
bootloader/xduoox3.c
··· 160 160 } 161 161 } 162 162 163 - #if 0 164 - static void reset_configuration(void) 165 - { 166 - int rc; 167 - 168 - rc = disk_mount_all(); 169 - if (rc <= 0) 170 - { 171 - verbose = true; 172 - error(EDISK,rc, true); 173 - } 174 - 175 - if(rename(ROCKBOX_DIR "/config.cfg", ROCKBOX_DIR "/config.old") == 0) 176 - show_splash(HZ/2, "Configuration reset successfully!"); 177 - else 178 - show_splash(HZ/2, "Couldn't reset configuration!"); 179 - } 180 - #endif 181 - 182 163 int main(void) 183 164 { 184 165 int rc;
+1 -1
firmware/SOURCES
··· 1646 1646 target/mips/ingenic_jz47xx/i2c-jz4760.c 1647 1647 target/mips/ingenic_jz47xx/lcd-jz4760.c 1648 1648 target/mips/ingenic_jz47xx/system-jz4760.c 1649 - target/mips/ingenic_jz47xx/usb-jz4760.c 1650 1649 target/mips/ingenic_jz47xx/timer-jz4760.c 1651 1650 #ifndef BOOTLOADER 1651 + target/mips/ingenic_jz47xx/usb-jz4760.c 1652 1652 target/mips/ingenic_jz47xx/codec-jz4760.c 1653 1653 target/mips/ingenic_jz47xx/pcm-jz4760.c 1654 1654 #endif /* BOOTLOADER */
+3 -1
firmware/export/config/xduoox3.h
··· 174 174 /* Type of LCD */ 175 175 #define CONFIG_LCD LCD_XDUOOX3 176 176 177 + #ifndef BOOTLOADER 177 178 /* USB On-the-go */ 178 179 #define CONFIG_USBOTG USBOTG_JZ4760 179 180 ··· 189 190 190 191 #define USB_NUM_ENDPOINTS 3 191 192 #define USB_DEVBSS_ATTR IBSS_ATTR 193 + #endif /* !BOOTLOADER */ 192 194 193 195 #define BOOTFILE_EXT "x3" 194 196 #define BOOTFILE "rockbox." BOOTFILE_EXT ··· 198 200 199 201 #define ICODE_ATTR_TREMOR_NOT_MDCT 200 202 201 - #endif /* SIMULATOR */ 203 + #endif /* !SIMULATOR */ 202 204 203 205 /** Port-specific settings **/ 204 206