diff options
author | Diego Santa Cruz <Diego.SantaCruz@spinetix.com> | 2014-12-23 10:50:25 +0100 |
---|---|---|
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2015-01-19 17:02:29 +0200 |
commit | 037dc0ab5dff36984d97735987dff01a7ec73893 (patch) | |
tree | 44d5c457ea5ee33b65ca061b3a57ac515a52d938 /include | |
parent | a4ff9f83f5f902717e87c05cf9d2d02b472d4257 (diff) | |
download | u-boot-imx-037dc0ab5dff36984d97735987dff01a7ec73893.zip u-boot-imx-037dc0ab5dff36984d97735987dff01a7ec73893.tar.gz u-boot-imx-037dc0ab5dff36984d97735987dff01a7ec73893.tar.bz2 |
mmc: read the high capacity WP group size for eMMC
Read the eMMC high capacity write protect group size at mmc device
initialization. This is useful to correctly partition an eMMC device,
as partitions need to be aligned to this size.
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/mmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index 6c8bbfc..bcaf9f0 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -316,6 +316,7 @@ struct mmc { uint read_bl_len; uint write_bl_len; uint erase_grp_size; /* in 512-byte sectors */ + uint hc_wp_grp_size; /* in 512-byte sectors */ u64 capacity; u64 capacity_user; u64 capacity_boot; |