summaryrefslogtreecommitdiff
path: root/firmware/export/config/xduoox3.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-07-03 14:49:51 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-07-03 16:51:58 -0400
commite2fb4ecd5c6395ec6bf6524cc4a54ad878a15b13 (patch)
treeadac5da0ab6b6d88217591fdfefe061dfec32f2e /firmware/export/config/xduoox3.h
parent80b91277279105d49fdf5a967d88f6a1abc38bb3 (diff)
downloadrockbox-e2fb4ecd5c6395ec6bf6524cc4a54ad878a15b13.tar.gz
rockbox-e2fb4ecd5c6395ec6bf6524cc4a54ad878a15b13.zip
xduoox3: Completely strip USB support out of the bootloader.
Change-Id: I7167e051a56a3be3c285c209b1c8fca7de251b09
Diffstat (limited to 'firmware/export/config/xduoox3.h')
-rw-r--r--firmware/export/config/xduoox3.h4
1 files changed, 3 insertions, 1 deletions
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