]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/mmc/mmc.c
mmc: read the high capacity WP group size for eMMC
authorDiego Santa Cruz <Diego.SantaCruz@spinetix.com>
Tue, 23 Dec 2014 09:50:25 +0000 (10:50 +0100)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Mon, 19 Jan 2015 15:02:29 +0000 (17:02 +0200)
commit037dc0ab5dff36984d97735987dff01a7ec73893
tree44d5c457ea5ee33b65ca061b3a57ac515a52d938
parenta4ff9f83f5f902717e87c05cf9d2d02b472d4257
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>
drivers/mmc/mmc.c
include/mmc.h