Skip to content
Snippets Groups Projects
Commit a4ff9f83 authored by Diego Santa Cruz's avatar Diego Santa Cruz Committed by Pantelis Antoniou
Browse files

mmc: fix erase_grp_size computation with high-capacity size definition


The erase_grp_size in struct mmc is to be a size in 512-byte sectors
but the code used to compute it for eMMC when EXT_CSD_ERASE_GROUP_DEF is
enabled computed it as bytes, leading to erase sizes and alignment
much larger than what is actually required by the mmc device.

Signed-off-by: default avatarDiego Santa Cruz <Diego.SantaCruz@spinetix.com>
parent beb98a14
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment