[PATCH] mtd: spi-nor: Add possibility to disable chip erase

Marek Vasut marek.vasut at gmail.com
Mon Oct 24 06:10:07 PDT 2016


On 10/24/2016 08:10 AM, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote:
> Hi Marek,
> 
>> -----Original Message-----
>> From: Marek Vasut [mailto:marek.vasut at gmail.com]
>> Sent: Friday, October 21, 2016 7:53 PM
>> To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
>> <marcin.krzeminski at nokia.com>; linux-mtd at lists.infradead.org
>> Cc: computersforpeace at gmail.com; cyrille.pitchen at atmel.com; rfsw-
>> patches at mlist.nokia.com; dwmw2 at infradead.org
>> Subject: Re: [PATCH] mtd: spi-nor: Add possibility to disable chip erase
>>
>> On 10/21/2016 02:55 PM, marcin.krzeminski at nokia.com wrote:
>>> From: Marcin Krzeminski <marcin.krzeminski at nokia.com>
>>>
>>> n25q00 does not support chip erase command (0xC7), but spi-nor
>>> framework still send if if user want to erase whole flash. This patch
>>> adds option to disable chip erase command and enable in on n25q00.
>>
>> That's true and it's a pretty nasty issue.
>> Can you instead implement logic to send multiple die-erase commands ?
>> They do make erasing faster afterall.
>>
> As we talked I would like to have die erase. I post is after tests,
> It will be a difference series since functionality will be different.
> In my MT25Q00 difference between die erase and sector at time erase
> is about 40 second.

Cool, thanks!

-- 
Best regards,
Marek Vasut



More information about the linux-mtd mailing list