|
@@ -369,13 +369,13 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
|
|
|
ext_csd[EXT_CSD_SEC_FEATURE_SUPPORT];
|
|
|
card->ext_csd.raw_trim_mult =
|
|
|
ext_csd[EXT_CSD_TRIM_MULT];
|
|
|
+ card->ext_csd.raw_partition_support = ext_csd[EXT_CSD_PARTITION_SUPPORT];
|
|
|
if (card->ext_csd.rev >= 4) {
|
|
|
/*
|
|
|
* Enhanced area feature support -- check whether the eMMC
|
|
|
* card has the Enhanced area enabled. If so, export enhanced
|
|
|
* area offset and size to user by adding sysfs interface.
|
|
|
*/
|
|
|
- card->ext_csd.raw_partition_support = ext_csd[EXT_CSD_PARTITION_SUPPORT];
|
|
|
if ((ext_csd[EXT_CSD_PARTITION_SUPPORT] & 0x2) &&
|
|
|
(ext_csd[EXT_CSD_PARTITION_ATTRIBUTE] & 0x1)) {
|
|
|
hc_erase_grp_sz =
|