[U-Boot] [PATCH V4 1/2] mmc: sd: extracting erase related information from sd status

Jaehoon Chung jh80.chung at samsung.com
Thu Sep 8 15:47:25 CEST 2016


Hi Peng,

On 09/08/2016 10:51 AM, Peng Fan wrote:
> On Thu, Sep 08, 2016 at 10:49:53AM +0900, Jaehoon Chung wrote:
>> Hi Peng,
>>
>> On 09/08/2016 10:42 AM, Peng Fan wrote:
>>> Hi Jaehoon,
>>> On Wed, Sep 07, 2016 at 03:52:53PM +0900, Jaehoon Chung wrote:
>>>> Hi Peng,
>>>>
>>>> On 09/01/2016 12:13 PM, Peng Fan wrote:
>>>>> Add function to read SD_STATUS information.
>>>>> According to the information, get erase_timeout/erase_size/erase_offset.
>>>>> Add a structure sd_ssr to include the erase related information.
>>>>
>>>> Sorry for late..I'm testing with your patch on my SD-card.
>>>> After that, I will apply yours. Before applied this, i will check more carefully for not doing previous my mistake.
>>>
>>> The issue in the previous patch set is that linux/size.h is not included in sandbox.h.
>>> In this patchset, I include linux/size.h in mmc.h:)
>>
>> Right, i have checked the test of building with your patch.
>> There is no problem..just i want to run your patch for erasing SD-card. Could you wait for one day?
> 
> Yeah. Ok for me :)

I have tested with your patch.. (Same command yours "time mmc erase 0x100000 0x2000")

Before applied your patch..it took 18.212 seconds

After applied your patch. 0.548 seconds. Great!

I applied on u-boot-mmc. Thanks!

> 
> Thanks,
> Peng.
> 
> 
> 



More information about the U-Boot mailing list