mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 10:10:33 +02:00
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 <loic.poulain@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250507134538.575912-1-loic.poulain@oss.qualcomm.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
e760eab406
commit
f0534aace3
1 changed files with 1 additions and 1 deletions
|
|
@ -2655,7 +2655,7 @@ static struct mmc_blk_data *mmc_blk_alloc_req(struct mmc_card *card,
|
|||
md->disk->private_data = md;
|
||||
md->parent = parent;
|
||||
set_disk_ro(md->disk, md->read_only || default_ro);
|
||||
if (area_type & (MMC_BLK_DATA_AREA_RPMB | MMC_BLK_DATA_AREA_BOOT))
|
||||
if (area_type & MMC_BLK_DATA_AREA_RPMB)
|
||||
md->disk->flags |= GENHD_FL_NO_PART;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue