1
0
Fork 0
forked from len0rd/rockbox

imx233/fuze+: reset dma block correctly and define maximum transfer size

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30526 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-09-13 23:38:56 +00:00
parent b27d07e094
commit 1b220f1856
2 changed files with 5 additions and 2 deletions

View file

@ -28,8 +28,8 @@
void imx233_dma_init(void)
{
/* Enable APHB and APBX */
__REG_CLR(HW_APBH_CTRL0) = __BLOCK_CLKGATE | __BLOCK_SFTRST;
__REG_CLR(HW_APBX_CTRL0) = __BLOCK_CLKGATE | __BLOCK_SFTRST;
imx233_reset_block(&HW_APBH_CTRL0);
imx233_reset_block(&HW_APBX_CTRL0);
}
void imx233_dma_reset_channel(unsigned chan)