diff options
| author | Yi Sun <yi.y.sun@intel.com> | 2014-08-13 01:34:01 -0400 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-09 07:59:00 -0400 |
| commit | b3683994843a0ede0e19daccd1ac32a46b21eb39 (patch) | |
| tree | 701609849d708a73e62f70ef49dda869697e685e /include/linux/mmc | |
| parent | ae9060377a67a0840f980bc0e2cb32af07baf479 (diff) | |
mmc: Correct the value of MMC_NUM_PHY_PARTITION
eMMC card can support up to 7 physical partitions, including 2 boot,
1 RPMB and 4 GPs. Change MMC_NUM_PHY_PARTITION from 6 to 7, which is
the correct value.
Signed-off-by: Yi Sun <yi.y.sun@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
| -rw-r--r-- | include/linux/mmc/card.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index d424b9de3aff..bde5147a4221 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
| @@ -214,11 +214,12 @@ enum mmc_blk_status { | |||
| 214 | }; | 214 | }; |
| 215 | 215 | ||
| 216 | /* The number of MMC physical partitions. These consist of: | 216 | /* The number of MMC physical partitions. These consist of: |
| 217 | * boot partitions (2), general purpose partitions (4) in MMC v4.4. | 217 | * boot partitions (2), general purpose partitions (4) and |
| 218 | * RPMB partition (1) in MMC v4.4. | ||
| 218 | */ | 219 | */ |
| 219 | #define MMC_NUM_BOOT_PARTITION 2 | 220 | #define MMC_NUM_BOOT_PARTITION 2 |
| 220 | #define MMC_NUM_GP_PARTITION 4 | 221 | #define MMC_NUM_GP_PARTITION 4 |
| 221 | #define MMC_NUM_PHY_PARTITION 6 | 222 | #define MMC_NUM_PHY_PARTITION 7 |
| 222 | #define MAX_MMC_PART_NAME_LEN 20 | 223 | #define MAX_MMC_PART_NAME_LEN 20 |
| 223 | 224 | ||
| 224 | /* | 225 | /* |
