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

mmc: computation of eMMC GP partition size was missing 512 KiB factor

parent 0c453bb7
No related branches found
No related tags found
No related merge requests found
......@@ -1026,6 +1026,7 @@ static int mmc_startup(struct mmc *mmc)
mmc->capacity_gp[i] *=
ext_csd[EXT_CSD_HC_ERASE_GRP_SIZE];
mmc->capacity_gp[i] *= ext_csd[EXT_CSD_HC_WP_GRP_SIZE];
mmc->capacity_gp[i] <<= 19;
if (mmc->capacity_gp[i])
has_parts = true;
}
......
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