Skip to content

Commit f0534aa

Browse files
Loic Poulainstorulf
authored andcommitted
mmc: core: Scan the eMMC boot areas for partition table
It appears that some vendors provision the boot areas with valid part tables (GPT) in order to have identifiable partitions for device and firmware specific data, such has the qualcomm CDT (Qualcomm Config Data Table). Additionally, these boot areas can be utilized to host device-specific IDs, calibration data, and other critical information. Signed-off-by: Loic Poulain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent e760eab commit f0534aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/core/block.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2655,7 +2655,7 @@ static struct mmc_blk_data *mmc_blk_alloc_req(struct mmc_card *card,
26552655
md->disk->private_data = md;
26562656
md->parent = parent;
26572657
set_disk_ro(md->disk, md->read_only || default_ro);
2658-
if (area_type & (MMC_BLK_DATA_AREA_RPMB | MMC_BLK_DATA_AREA_BOOT))
2658+
if (area_type & MMC_BLK_DATA_AREA_RPMB)
26592659
md->disk->flags |= GENHD_FL_NO_PART;
26602660

26612661
/*

0 commit comments

Comments
 (0)