-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EmbeddedPkg/Universal/MmcDxe: Reorder multi-block abort sequence #10681
base: master
Are you sure you want to change the base?
EmbeddedPkg/Universal/MmcDxe: Reorder multi-block abort sequence #10681
Conversation
This change moves multi-block stop transmission scenario (CMD12) before getting card status (CMD13). This follows the abort sequence mentioned in: SD Host Controller Simplified Specification Version 4.20, Section 3.8.1 Abort Command Sequence Additionally, make use of MmcStopTransmission to remove duplicate code. Signed-off-by: Mariam Elshakfy <[email protected]>
Word of warning: this driver is not well supported. None of the EmbeddedPkg maintainers are actively using it or very familiar with the interface. Ultimately, this should be replaced by Bus/Pci/SdMmcPciHcDxe/ used with NonDiscoverablePciDeviceDxe. Until then, unless someone else volunteers to take on maintainership of this driver, I'm intending to flag it as "unmaintained". |
I was wandering about that actually. Does EDK-2 have any list with what drivers are maintained (or the deprecated ones)? |
We have the syntax for it in https://github.com/tianocore/edk2/blob/master/Maintainers.txt#L31, but generally the feeling is that something that is unmaintained for more than a very short period should be dropped/archived. |
The package is used in edk2-platforms by 3 more boards: Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc:345: EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf Are you saying that all of them should be converted to Bus/Pci/SdMmcPciHcDxe/? |
At least the latter two are candidates for deletion/archiving. @samimujawar is ArmVExpress-FVP considered actively maintained by Arm? |
Description
This change moves multi-block stop transmission scenario (CMD12) before getting card status (CMD13).
This follows the abort sequence mentioned in:
SD Host Controller Simplified Specification Version 4.20, Section 3.8.1 Abort Command Sequence
Additionally, make use of MmcStopTransmission to remove duplicate code.
How This Was Tested
Tested on KV260 (new EDK-II port)
Integration Instructions
N/A