The AMSv1 driver limitation that disallows 64K transfers is a USB core limitation, not a CPU limitation, so use the appropriate defines to test for it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31476 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
11707abd40
commit
ab475d121c
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@
|
|||
#ifdef USB_READ_BUFFER_SIZE
|
||||
#define READ_BUFFER_SIZE USB_READ_BUFFER_SIZE
|
||||
#else
|
||||
#if CONFIG_CPU == AS3525
|
||||
#if CONFIG_USBOTG == USBOTG_AS3525
|
||||
/* We'd need to implement multidescriptor dma for sizes >65535 */
|
||||
#define READ_BUFFER_SIZE (1024*63)
|
||||
#else
|
||||
|
@ -81,7 +81,7 @@
|
|||
#define WRITE_BUFFER_SIZE USB_WRITE_BUFFER_SIZE
|
||||
#else
|
||||
#if (CONFIG_STORAGE & STORAGE_SD)
|
||||
#if CONFIG_CPU == AS3525
|
||||
#if CONFIG_USBOTG == USBOTG_AS3525
|
||||
/* We'd need to implement multidescriptor dma for sizes >65535 */
|
||||
#define WRITE_BUFFER_SIZE (1024*63)
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue