Sdio-host: update to 0.9.0, add AddressMode enum #734
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bump sdio-host to 0.9.0, which includes new voltabe_range format for send_op_conditon, generic arguments for registers (SD, EMMC).
Significantly, the SdioPeripheral::get_capacity() method has been replaced with SdioPeripheral::get_address_mode(). This change provides a more intuitive and accurate representation for eMMC cards, which unlike SD cards, do not have a distinction between standard and high capacity variants and uniformly use block addressing. The previous implementation relied on the high capacity bit in the OCR register, which is not applicable to eMMC cards. This bit has been removed in the sdio-host library to reflect the correct specifications for eMMC cards.
Was not tested yet, i don't have eMMC card, but I can test with SD card tomorrow.
(Recreated #733)