[U-Boot] [PATCH] spi: sf: add support for throughput mesurement of sf read/write

Mugunthan V N mugunthanvnm at ti.com
Thu Dec 17 08:56:44 CET 2015


On Thursday 17 December 2015 12:43 PM, Jagan Teki wrote:
> On 17 December 2015 at 12:33, Mugunthan V N <mugunthanvnm at ti.com> wrote:
>> Jagan
>>
>> On Tuesday 27 October 2015 07:24 PM, Mugunthan V N wrote:
>>> This patch adds time measurement and throughput calculation for
>>> sf read/write commands.
>>>
>>> The output of sf read changes from
>>>
>>> ---8<---
>>> SF: 4096 bytes @ 0x0 Read: OK
>>> --->8---
>>>
>>> to
>>>
>>> ---8<---
>>> SF: 4096 bytes @ 0x0 Read: OK in 6 ms (666 KiB/s)
>>> --->8---
>>>
>>> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> 
> Was it similar to 'sf update' ? please check it once.
> 

sf update out similar but also uses progressive output, in read/write
case it can't be done. The final throughput measurement is similar on
both update and read/write.

Regards
Mugunthan V N


More information about the U-Boot mailing list