forked from len0rd/rockbox
imx233: merge sd and mmc drivers, fix dma issues
Merge sd and mmc drivers into a single sdmmc driver. This allows some factoring of the code and simplify bug fixing. Also fix the dma/cache related issue by doing all transfers via a correctly aligned buffer. The current code is not smart enough to take advantage of large user buffers currently but at least it is safe! Change-Id: Ib0fd16dc7d52ef7bfe99fd586e03ecf08691edcd
This commit is contained in:
parent
4604e984e8
commit
4908b8eb1c
5 changed files with 877 additions and 823 deletions
|
@ -511,11 +511,8 @@ target/arm/imx233/clkctrl-imx233.c
|
|||
target/arm/imx233/system-imx233.c
|
||||
target/arm/imx233/timrot-imx233.c
|
||||
target/arm/imx233/kernel-imx233.c
|
||||
# if (CONFIG_STORAGE & STORAGE_SD)
|
||||
target/arm/imx233/sd-imx233.c
|
||||
# endif
|
||||
# if (CONFIG_STORAGE & STORAGE_MMC)
|
||||
target/arm/imx233/mmc-imx233.c
|
||||
# if (CONFIG_STORAGE & (STORAGE_SD | STORAGE_MMC))
|
||||
target/arm/imx233/sdmmc-imx233.c
|
||||
# endif
|
||||
target/arm/imx233/partitions-imx233.c
|
||||
target/arm/imx233/ssp-imx233.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue