-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an sdport-based miniport driver for the two MSHC instances on RK3588: one for SD card slot, the other for SDIO Wi-Fi. Features: - Speed modes: Default, HS, SDR50, SDR104 - Internal 32-bit scatter/gather DMA support - Card detection - Crashdump support To-do: - Test eMMC support - SDIO (e.g. CMD53) - Support SD version 1 cards (they don't respond to CMD8 by design, which makes sdport assume it's not an SD card at all) Known issues: - Plugging/unplugging the card quickly can lead to a bugcheck. This happens due to race conditions in sdport w.r.t. card removal and request completion. It ends up dereferencing a NULL pointer, which was supposed to be the outstanding request. Signed-off-by: Mario BΔlΔnicΔ <[email protected]>
- Loading branch information
1 parent
0b3a26b
commit aef3a17
Showing
12 changed files
with
6,090 additions
and
1 deletion.
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
Oops, something went wrong.