[U-Boot] [PATCH ] MMC: fix user capacity for partitioned eMMC card

Markus Niebel list-09_u-boot at tqsc.de
Fri Nov 21 12:51:43 CET 2014


Hello Jaehoon Chung

Am 21.11.2014 um 11:50 schrieb Jaehoon Chung:
> Hi, Markus.
> 
> On 11/18/2014 11:11 PM, Markus Niebel wrote:
>> From: Markus Niebel <Markus.Niebel at tq-group.com>
>>
>> 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
> 
> I have one question. 
> "smaller than 2GiB" means the size after completed partition?

Yes. Some cards enable a pseudo SLC mode using the enhanced partition attribute.
This results in reduced sizes after completion.

Tested with a 4 GB Micron eMMC (resulting size is around 1.8 GiB)

> 
> Best Regards,
> Jaehoon Chung
> 

Best Regards

Markus Niebel


More information about the U-Boot mailing list