forked from len0rd/rockbox
Gigabeat S: Implement MDMA and UDMA disk access for bootloader and main binary. Add a needed SDMA API to check channel errors. Increase audio DMA channels' priority as required. Reads and writes measure faster accross all test_disk tests and especially at 4KB and 1MB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20299 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bc8cab4c24
commit
a1a332e04b
10 changed files with 564 additions and 28 deletions
|
|
@ -497,11 +497,11 @@
|
|||
#define ATA_IORDY_EN (1 << 0)
|
||||
|
||||
/* ATA_INTERRUPT_PENDING, ATA_INTERRUPT_ENABLE, ATA_INTERRUPT_CLEAR flags */
|
||||
#define ATA_INTRQ1 (1 << 7)
|
||||
#define ATA_INTRQ1 (1 << 7) /* INTRQ to the DMA */
|
||||
#define ATA_FIFO_UNDERFLOW (1 << 6)
|
||||
#define ATA_FIFO_OVERFLOW (1 << 5)
|
||||
#define ATA_CONTROLLER_IDLE (1 << 4)
|
||||
#define ATA_INTRQ2 (1 << 3)
|
||||
#define ATA_INTRQ2 (1 << 3) /* INTRQ to the MCU */
|
||||
|
||||
/* EPIT */
|
||||
#define EPITCR1 (*(REG32_PTR_T)(EPIT1_BASE_ADDR+0x00))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue