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 } 161 } 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 int main(void) 183 { 184 int rc;
··· 160 } 161 } 162 163 int main(void) 164 { 165 int rc;
+1 -1
firmware/SOURCES
··· 1646 target/mips/ingenic_jz47xx/i2c-jz4760.c 1647 target/mips/ingenic_jz47xx/lcd-jz4760.c 1648 target/mips/ingenic_jz47xx/system-jz4760.c 1649 - target/mips/ingenic_jz47xx/usb-jz4760.c 1650 target/mips/ingenic_jz47xx/timer-jz4760.c 1651 #ifndef BOOTLOADER 1652 target/mips/ingenic_jz47xx/codec-jz4760.c 1653 target/mips/ingenic_jz47xx/pcm-jz4760.c 1654 #endif /* BOOTLOADER */
··· 1646 target/mips/ingenic_jz47xx/i2c-jz4760.c 1647 target/mips/ingenic_jz47xx/lcd-jz4760.c 1648 target/mips/ingenic_jz47xx/system-jz4760.c 1649 target/mips/ingenic_jz47xx/timer-jz4760.c 1650 #ifndef BOOTLOADER 1651 + target/mips/ingenic_jz47xx/usb-jz4760.c 1652 target/mips/ingenic_jz47xx/codec-jz4760.c 1653 target/mips/ingenic_jz47xx/pcm-jz4760.c 1654 #endif /* BOOTLOADER */
+3 -1
firmware/export/config/xduoox3.h
··· 174 /* Type of LCD */ 175 #define CONFIG_LCD LCD_XDUOOX3 176 177 /* USB On-the-go */ 178 #define CONFIG_USBOTG USBOTG_JZ4760 179 ··· 189 190 #define USB_NUM_ENDPOINTS 3 191 #define USB_DEVBSS_ATTR IBSS_ATTR 192 193 #define BOOTFILE_EXT "x3" 194 #define BOOTFILE "rockbox." BOOTFILE_EXT ··· 198 199 #define ICODE_ATTR_TREMOR_NOT_MDCT 200 201 - #endif /* SIMULATOR */ 202 203 /** Port-specific settings **/ 204
··· 174 /* Type of LCD */ 175 #define CONFIG_LCD LCD_XDUOOX3 176 177 + #ifndef BOOTLOADER 178 /* USB On-the-go */ 179 #define CONFIG_USBOTG USBOTG_JZ4760 180 ··· 190 191 #define USB_NUM_ENDPOINTS 3 192 #define USB_DEVBSS_ATTR IBSS_ATTR 193 + #endif /* !BOOTLOADER */ 194 195 #define BOOTFILE_EXT "x3" 196 #define BOOTFILE "rockbox." BOOTFILE_EXT ··· 200 201 #define ICODE_ATTR_TREMOR_NOT_MDCT 202 203 + #endif /* !SIMULATOR */ 204 205 /** Port-specific settings **/ 206