diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-17 15:41:05 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-05-17 15:41:05 +0000 |
commit | 649671eae32eb7bb43a9ece0654a78336194b654 (patch) | |
tree | 79a3156c47aabc7ee755fa9822159fcdfc522acd /firmware/export/jz4740.h | |
parent | 0023943439148f4c3bfdab2d437345bd87da5a60 (diff) | |
download | rockbox-649671eae32eb7bb43a9ece0654a78336194b654.tar.gz rockbox-649671eae32eb7bb43a9ece0654a78336194b654.zip |
Get interrupt endpoints fully working on Ingenic Jz4740 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20978 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/jz4740.h')
-rw-r--r-- | firmware/export/jz4740.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/jz4740.h b/firmware/export/jz4740.h index b0f3f538a3..7ddec364a6 100644 --- a/firmware/export/jz4740.h +++ b/firmware/export/jz4740.h | |||
@@ -2475,6 +2475,7 @@ | |||
2475 | #define USB_INCSRH_ISO 0x40 | 2475 | #define USB_INCSRH_ISO 0x40 |
2476 | #define USB_INCSRH_MODE 0x20 | 2476 | #define USB_INCSRH_MODE 0x20 |
2477 | #define USB_INCSRH_DMAREQENAB 0x10 | 2477 | #define USB_INCSRH_DMAREQENAB 0x10 |
2478 | #define USB_INCSRH_FRCDATATOG 0x08 | ||
2478 | #define USB_INCSRH_DMAREQMODE 0x04 | 2479 | #define USB_INCSRH_DMAREQMODE 0x04 |
2479 | #define USB_INCSR_CDT 0x40 | 2480 | #define USB_INCSR_CDT 0x40 |
2480 | #define USB_INCSR_SENTSTALL 0x20 | 2481 | #define USB_INCSR_SENTSTALL 0x20 |
@@ -5112,6 +5113,9 @@ struct Ration2m | |||
5112 | #define IPU_DISABLE_IRQ() \ | 5113 | #define IPU_DISABLE_IRQ() \ |
5113 | REG32(IPU_V_BASE + REG_CTRL) &= ~FM_IRQ_EN; | 5114 | REG32(IPU_V_BASE + REG_CTRL) &= ~FM_IRQ_EN; |
5114 | 5115 | ||
5116 | #define IPU_ENABLE_IRQ() \ | ||
5117 | REG32(IPU_V_BASE + REG_CTRL) |= FM_IRQ_EN; | ||
5118 | |||
5115 | #define IPU_DISABLE_RSIZE() \ | 5119 | #define IPU_DISABLE_RSIZE() \ |
5116 | REG32(IPU_V_BASE + REG_CTRL) &= ~RSZ_EN; | 5120 | REG32(IPU_V_BASE + REG_CTRL) &= ~RSZ_EN; |
5117 | 5121 | ||