diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-02-23 16:10:46 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-02-23 16:10:46 +0000 |
commit | 9bcb96f4908c480727de5cafa804d476c6819790 (patch) | |
tree | e3ae0054731c045594c67f10a07b3bfee5283a5f /firmware/export/jz4740.h | |
parent | 2e6d604bb60b84426596449e09a99e475ab5d69f (diff) | |
download | rockbox-9bcb96f4908c480727de5cafa804d476c6819790.tar.gz rockbox-9bcb96f4908c480727de5cafa804d476c6819790.zip |
Ingenic Jz4740:
* Fix USB issues + add DMA support (doesn't work fully)
* Make exception handler a bit more descriptive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20091 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/jz4740.h')
-rw-r--r-- | firmware/export/jz4740.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/firmware/export/jz4740.h b/firmware/export/jz4740.h index 5642dc8464..f029ad606e 100644 --- a/firmware/export/jz4740.h +++ b/firmware/export/jz4740.h | |||
@@ -2471,11 +2471,11 @@ | |||
2471 | #define USB_CSR0_SVDSETUPEND 0x80 | 2471 | #define USB_CSR0_SVDSETUPEND 0x80 |
2472 | 2472 | ||
2473 | /* Endpoint CSR register bits */ | 2473 | /* Endpoint CSR register bits */ |
2474 | #define USB_INCSRH_AUTOSET 0x8000 | 2474 | #define USB_INCSRH_AUTOSET 0x80 |
2475 | #define USB_INCSRH_ISO 0x4000 | 2475 | #define USB_INCSRH_ISO 0x40 |
2476 | #define USB_INCSRH_MODE 0x2000 | 2476 | #define USB_INCSRH_MODE 0x20 |
2477 | #define USB_INCSRH_DMAREQENAB 0x1000 | 2477 | #define USB_INCSRH_DMAREQENAB 0x10 |
2478 | #define USB_INCSRH_DMAREQMODE 0x0400 | 2478 | #define USB_INCSRH_DMAREQMODE 0x04 |
2479 | #define USB_INCSR_CDT 0x40 | 2479 | #define USB_INCSR_CDT 0x40 |
2480 | #define USB_INCSR_SENTSTALL 0x20 | 2480 | #define USB_INCSR_SENTSTALL 0x20 |
2481 | #define USB_INCSR_SENDSTALL 0x10 | 2481 | #define USB_INCSR_SENDSTALL 0x10 |
@@ -2483,11 +2483,11 @@ | |||
2483 | #define USB_INCSR_UNDERRUN 0x04 | 2483 | #define USB_INCSR_UNDERRUN 0x04 |
2484 | #define USB_INCSR_FFNOTEMPT 0x02 | 2484 | #define USB_INCSR_FFNOTEMPT 0x02 |
2485 | #define USB_INCSR_INPKTRDY 0x01 | 2485 | #define USB_INCSR_INPKTRDY 0x01 |
2486 | #define USB_OUTCSRH_AUTOCLR 0x8000 | 2486 | #define USB_OUTCSRH_AUTOCLR 0x80 |
2487 | #define USB_OUTCSRH_ISO 0x4000 | 2487 | #define USB_OUTCSRH_ISO 0x40 |
2488 | #define USB_OUTCSRH_DMAREQENAB 0x2000 | 2488 | #define USB_OUTCSRH_DMAREQENAB 0x20 |
2489 | #define USB_OUTCSRH_DNYT 0x1000 | 2489 | #define USB_OUTCSRH_DNYT 0x10 |
2490 | #define USB_OUTCSRH_DMAREQMODE 0x0800 | 2490 | #define USB_OUTCSRH_DMAREQMODE 0x08 |
2491 | #define USB_OUTCSR_CDT 0x80 | 2491 | #define USB_OUTCSR_CDT 0x80 |
2492 | #define USB_OUTCSR_SENTSTALL 0x40 | 2492 | #define USB_OUTCSR_SENTSTALL 0x40 |
2493 | #define USB_OUTCSR_SENDSTALL 0x20 | 2493 | #define USB_OUTCSR_SENDSTALL 0x20 |