summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-05-15 03:22:31 +0200
committerCástor Muñoz <cmvidal@gmail.com>2016-05-15 23:43:00 +0200
commit00a3658e5a5fdca7c0d4dc532c5721efb8418ee5 (patch)
tree9beeaaadc72848d443e28ec2f99c7c57e80de0e5 /firmware
parentb8a237dca21227e591a0b3c6204f4b2503075ae8 (diff)
downloadrockbox-00a3658e5a5fdca7c0d4dc532c5721efb8418ee5.tar.gz
rockbox-00a3658e5a5fdca7c0d4dc532c5721efb8418ee5.zip
iPod Classic: modify USB storage read/write buffers size
The write buffer size is undefined to use the default 24Kb. size defined (and recomended) in usb_storage.c, the read buffer size is also decremented to 24 Kb. USB sequential read and write benchmarks using diskdump are now 8-9% faster. Change-Id: Ia7c9f77b57c8ca5b566b508efffbd713d1587acf
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/ipod6g.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/ipod6g.h b/firmware/export/config/ipod6g.h
index c8920c767c..cb8100bb55 100644
--- a/firmware/export/config/ipod6g.h
+++ b/firmware/export/config/ipod6g.h
@@ -246,6 +246,8 @@
246#define USB_NUM_ENDPOINTS 6 246#define USB_NUM_ENDPOINTS 6
247#define USB_DEVBSS_ATTR __attribute__((aligned(32))) 247#define USB_DEVBSS_ATTR __attribute__((aligned(32)))
248 248
249#define USB_READ_BUFFER_SIZE (1024*24)
250
249#define HAVE_SERIAL 251#define HAVE_SERIAL
250/* Disable iAP when LOGF_SERIAL is enabled to avoid conflicts */ 252/* Disable iAP when LOGF_SERIAL is enabled to avoid conflicts */
251#ifndef LOGF_SERIAL 253#ifndef LOGF_SERIAL
@@ -258,7 +260,5 @@
258/* Define this, if you can switch on/off the lineout */ 260/* Define this, if you can switch on/off the lineout */
259#define HAVE_LINEOUT_POWEROFF 261#define HAVE_LINEOUT_POWEROFF
260 262
261#define USB_WRITE_BUFFER_SIZE (1024*64)
262
263/* Define this if a programmable hotkey is mapped */ 263/* Define this if a programmable hotkey is mapped */
264#define HAVE_HOTKEY 264#define HAVE_HOTKEY