Searched hist:a4ff9f83f5f902717e87c05cf9d2d02b472d4257 (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/include/ |
H A D | mmc.h | diff a4ff9f83f5f902717e87c05cf9d2d02b472d4257 Tue Dec 23 03:50:24 CST 2014 Diego Santa Cruz <Diego.SantaCruz@spinetix.com> 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: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
|
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc.c | diff a4ff9f83f5f902717e87c05cf9d2d02b472d4257 Tue Dec 23 03:50:24 CST 2014 Diego Santa Cruz <Diego.SantaCruz@spinetix.com> 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: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
|