summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/ipod6g.h
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/export/config/ipod6g.h
parentb8a237dca21227e591a0b3c6204f4b2503075ae8 (diff)
downloadrockbox-00a3658e5a5fdca7c0d4dc532c5721efb8418ee5.tar.gz
rockbox-00a3658e5a5fdca7c0d4dc532c5721efb8418ee5.tar.bz2
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/export/config/ipod6g.h')
-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 @@
#define USB_NUM_ENDPOINTS 6
#define USB_DEVBSS_ATTR __attribute__((aligned(32)))
+#define USB_READ_BUFFER_SIZE (1024*24)
+
#define HAVE_SERIAL
/* Disable iAP when LOGF_SERIAL is enabled to avoid conflicts */
#ifndef LOGF_SERIAL
@@ -258,7 +260,5 @@
/* Define this, if you can switch on/off the lineout */
#define HAVE_LINEOUT_POWEROFF
-#define USB_WRITE_BUFFER_SIZE (1024*64)
-
/* Define this if a programmable hotkey is mapped */
#define HAVE_HOTKEY