[PATCH v5 2/3] MTD: OneNAND: multiblock erase support

Adrian Hunter adrian.hunter at nokia.com
Fri Oct 23 04:09:18 EDT 2009


Korhonen Mika.2 (EXT-Ardites/Oulu) wrote:
> ext Amit Kumar Sharma wrote:
>> Hi Mika,
>>
>> Do you have any use case for using multiblock erase.
>>
>>
>> Thanks
>> Amit
>>   
> Yes, e.g. during development/loop testing we need to flash a new system 
> on an MTD partition.
> The (UBIFS) system could be tiny but the partition large in which case 
> the erase time becomes even more significant.
> Even in more usual cases of reflashing a bigger system this gives ca. 5 
> % speed improvement.
> 
> Mika
> 

However the API is imperfect because AFAICT OneNAND multiblock erase
does not require that the blocks are sequential i.e. any 64 eraseblocks
from the same chip can be erased together.  So we would really need an
'erasev()' API to take complete advantage of it.




More information about the linux-mtd mailing list