diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-03 14:49:51 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-03 16:51:58 -0400 |
commit | e2fb4ecd5c6395ec6bf6524cc4a54ad878a15b13 (patch) | |
tree | adac5da0ab6b6d88217591fdfefe061dfec32f2e /firmware | |
parent | 80b91277279105d49fdf5a967d88f6a1abc38bb3 (diff) | |
download | rockbox-e2fb4ecd5c6395ec6bf6524cc4a54ad878a15b13.tar.gz rockbox-e2fb4ecd5c6395ec6bf6524cc4a54ad878a15b13.zip |
xduoox3: Completely strip USB support out of the bootloader.
Change-Id: I7167e051a56a3be3c285c209b1c8fca7de251b09
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/SOURCES | 2 | ||||
-rw-r--r-- | firmware/export/config/xduoox3.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index 75ea8b136e..4e6fcbf70c 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -1646,9 +1646,9 @@ target/mips/ingenic_jz47xx/kernel-jz4760.c | |||
1646 | target/mips/ingenic_jz47xx/i2c-jz4760.c | 1646 | target/mips/ingenic_jz47xx/i2c-jz4760.c |
1647 | target/mips/ingenic_jz47xx/lcd-jz4760.c | 1647 | target/mips/ingenic_jz47xx/lcd-jz4760.c |
1648 | target/mips/ingenic_jz47xx/system-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 | 1649 | target/mips/ingenic_jz47xx/timer-jz4760.c |
1651 | #ifndef BOOTLOADER | 1650 | #ifndef BOOTLOADER |
1651 | target/mips/ingenic_jz47xx/usb-jz4760.c | ||
1652 | target/mips/ingenic_jz47xx/codec-jz4760.c | 1652 | target/mips/ingenic_jz47xx/codec-jz4760.c |
1653 | target/mips/ingenic_jz47xx/pcm-jz4760.c | 1653 | target/mips/ingenic_jz47xx/pcm-jz4760.c |
1654 | #endif /* BOOTLOADER */ | 1654 | #endif /* BOOTLOADER */ |
diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h index 46e1a61712..0d413ad372 100644 --- a/firmware/export/config/xduoox3.h +++ b/firmware/export/config/xduoox3.h | |||
@@ -174,6 +174,7 @@ | |||
174 | /* Type of LCD */ | 174 | /* Type of LCD */ |
175 | #define CONFIG_LCD LCD_XDUOOX3 | 175 | #define CONFIG_LCD LCD_XDUOOX3 |
176 | 176 | ||
177 | #ifndef BOOTLOADER | ||
177 | /* USB On-the-go */ | 178 | /* USB On-the-go */ |
178 | #define CONFIG_USBOTG USBOTG_JZ4760 | 179 | #define CONFIG_USBOTG USBOTG_JZ4760 |
179 | 180 | ||
@@ -189,6 +190,7 @@ | |||
189 | 190 | ||
190 | #define USB_NUM_ENDPOINTS 3 | 191 | #define USB_NUM_ENDPOINTS 3 |
191 | #define USB_DEVBSS_ATTR IBSS_ATTR | 192 | #define USB_DEVBSS_ATTR IBSS_ATTR |
193 | #endif /* !BOOTLOADER */ | ||
192 | 194 | ||
193 | #define BOOTFILE_EXT "x3" | 195 | #define BOOTFILE_EXT "x3" |
194 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 196 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
@@ -198,7 +200,7 @@ | |||
198 | 200 | ||
199 | #define ICODE_ATTR_TREMOR_NOT_MDCT | 201 | #define ICODE_ATTR_TREMOR_NOT_MDCT |
200 | 202 | ||
201 | #endif /* SIMULATOR */ | 203 | #endif /* !SIMULATOR */ |
202 | 204 | ||
203 | /** Port-specific settings **/ | 205 | /** Port-specific settings **/ |
204 | 206 | ||