mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
x1000: refactor AIC initialization
Have pcm-x1000 handle most work, so target's audiohw code touches only the relevant settings. Change-Id: Icf3d1b7ca428ac50a5a16ecec39ed8186ac5ae13
This commit is contained in:
parent
c78ba1aa68
commit
f63edb52ef
7 changed files with 322 additions and 85 deletions
|
|
@ -43,8 +43,9 @@
|
|||
* cannot be used safely.
|
||||
*/
|
||||
#define DMA_CHANNEL_AUDIO 0
|
||||
#define DMA_CHANNEL_FBCOPY 1
|
||||
#define DMA_NUM_USED_CHANNELS 2
|
||||
#define DMA_CHANNEL_RECORD 1
|
||||
#define DMA_CHANNEL_FBCOPY 2
|
||||
#define DMA_NUM_USED_CHANNELS 3
|
||||
|
||||
struct dma_desc {
|
||||
uint32_t cm; /* meaning and layout same as DMA_CHN_CM */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue