mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
usb-s3c6400: merge the 2 drivers
Player-specific code remaining: usb_drv_(init,exit)
The iPods lack a MMU, so:
- physical, virtual, and uncached addresses are identical
- since we can't access uncached memory we discard caches when receiving data
Still not quite reliable on nano2g
Change-Id: Iebb79df64818b9ae3b68eccb8be8975ebd6c21ea
This commit is contained in:
parent
c1a71ab9ae
commit
c9c1349773
4 changed files with 185 additions and 398 deletions
|
|
@ -57,7 +57,7 @@ void fiq_handler(void) __attribute__((interrupt ("FIQ")));
|
|||
default_interrupt(INT_WATCHDOG);
|
||||
default_interrupt(INT_TIMER1);
|
||||
default_interrupt(INT_TIMER2);
|
||||
default_interrupt(INT_USB);
|
||||
default_interrupt(INT_USB_FUNC);
|
||||
default_interrupt(INT_DMAC);
|
||||
default_interrupt(INT_NAND);
|
||||
default_interrupt(INT_IDE);
|
||||
|
|
@ -134,7 +134,7 @@ static const struct { int source; void (*isr) (void); } vec_int_srcs[] =
|
|||
#if (defined HAVE_MULTIDRIVE && CONFIG_CPU == AS3525)
|
||||
{ INT_SRC_MCI0, INT_MCI0 },
|
||||
#endif
|
||||
{ INT_SRC_USB, INT_USB, },
|
||||
{ INT_SRC_USB, INT_USB_FUNC, },
|
||||
{ INT_SRC_TIMER1, INT_TIMER1 },
|
||||
{ INT_SRC_TIMER2, INT_TIMER2 },
|
||||
{ INT_SRC_I2C_AUDIO, INT_I2C_AUDIO },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue