1
0
Fork 0
forked from len0rd/rockbox

as3525: don't use IRAM for usb, and avoid usb storage using uncached addresses behind our back

No need for special address handling, all addresses are equal to their physical address

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26176 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-05-19 17:56:47 +00:00
parent 0b28594036
commit bae0756acf
3 changed files with 5 additions and 18 deletions

View file

@ -449,7 +449,7 @@ void usb_storage_init_connection(void)
state = WAITING_FOR_COMMAND;
#if CONFIG_CPU == IMX31L || defined(CPU_TCC77X) || defined(CPU_TCC780X) || \
defined(BOOTLOADER) || CONFIG_CPU == DM320
defined(BOOTLOADER) || CONFIG_CPU == DM320 || CONFIG_CPU == AS3525
static unsigned char _cbw_buffer[MAX_CBW_SIZE]
USB_DEVBSS_ATTR __attribute__((aligned(32)));
cbw_buffer = (void *)_cbw_buffer;