[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3626dadf-9fb1-b16d-d516-7e1e3056bc54@microchip.com>
Date: Thu, 14 Feb 2019 07:25:22 +0000
From: <Tudor.Ambarus@...rochip.com>
To: <marek.vasut@...il.com>, <dwmw2@...radead.org>,
<computersforpeace@...il.com>, <bbrezillon@...nel.org>,
<richard@....at>
CC: <linux-mtd@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <anuragku@...inx.com>,
<Cyrille.Pitchen@...rochip.com>, <Nicolas.Ferre@...rochip.com>
Subject: Re: [PATCH 1/3] mtd: spi-nor: add Global Block Unlock support
On 07/17/2018 07:28 PM, Tudor Ambarus wrote:
> We can't determine this purely by manufacturer type and it's not
> autodetectable by anything like SFDP, so make a new flag for it:
> UNLOCK_GLOBAL_BLOCK.
>
> Note that the Global Block Unlock command has different names
> depending on the manufacturer, but always the same command value:
> 0x98. Macronix's MX25U12835F names it Gang Block Unlock,
> Winbound's W25Q128FV names it Global Block Unlock and
> Microchip's SST26VF064B names it Global Block Protection Unlock.
>
> Based on initial work done by Anurag Kumar Vulisha:
> https://patchwork.kernel.org/patch/7611271/
Time passed and now I think that this should be part of the individual block
lock support, as an optimization when one wants to unlock the entire flash
memory. Will rework it.
Cheers,
ta
Powered by blists - more mailing lists