forked from RTEMS/rtems-libbsd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sdhci: Add some workarrounds for i.MX
Some bits are in the wrong order. Beneath that, the interrupts can occur in an unexpected order. The DATA_AVAIL interrupt can occur at the same time as the DMA interrupt (or slightly before it). With that, the DMA and PIO interrupt handling doesn't work well together. Beneath that the DMA interrupt isn't only executed at block ends but also if all data is transfered. That can lead to problems with the DATA_END interrupt. Therefore check whether there is really data left to unload.
- Loading branch information
1 parent
f7eeccd
commit 3b8fcca
Showing
2 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters