MMC: fix user capacity for partitioned eMMC card
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Tue, 18 Nov 2014 14:11:42 +0000 (15:11 +0100)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Fri, 12 Dec 2014 18:28:04 +0000 (20:28 +0200)
commitd7b2912991bb18db26b6c6b51cdc637142e21d3e
tree59d7c0dfd3fda275beed537fee4014ef02fc532d
parente75eaf100bdf01b94757e2b40365b46a7d380275
MMC: fix user capacity for partitioned eMMC card

if the card claims to be high capacity and the card
is partitioned the capacity shall still be read from
ext_csd SEC_COUNT even if the resulting capacity is
smaller than 2 GiB

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c
include/mmc.h