Re: [PATCH 0/8] mtd: spi-nor: locking fixes and updates
From: Ezequiel Garcia
Date: Thu Jan 28 2016 - 09:42:58 EST
On 28 January 2016 at 02:51, Brian Norris <computersforpeace@xxxxxxxxx> wrote:
> Hi,
>
> These are an assortment of fixes and updates to the SPI NOR lock/unlock
> feature. The biggest new features are:
> (a) Status Register protection; I don't see why this shouldn't be enabled by
> default. See patch 4's description.
> (b) Bottom-block protection support (via TB status bit)
> (c) Lock/unlock support for a few Winbond flash
>
> Patch 7 (Top/Bottom protection support) is still an RFC, as I think it deserves
> a bit more work. But I'm just getting it out there, as it's been sitting on my
> plate for a while.
>
> Regards,
> Brian
>
> Brian Norris (8):
> mtd: spi-nor: wait for SR_WIP to clear on initial unlock
> mtd: spi-nor: guard against underflows in stm_is_locked_sr
> mtd: spi-nor: silently drop lock/unlock for already locked/unlocked
> region
> mtd: spi-nor: disallow further writes to SR if WP# is low
> mtd: spi-nor: use BIT() for flash_info flags
> mtd: spi-nor: add SPI_NOR_HAS_LOCK flag
> mtd: spi-nor: add TB (Top/Bottom) protect support
> mtd: spi-nor: support lock/unlock for a few Winbond chips
>
For all patches, except RFC 7/8:
Reviewed-by: Ezequiel Garcia <ezequiel@xxxxxxxxxxxxxxxxxxxx>
--
Ezequiel GarcÃa, VanguardiaSur
www.vanguardiasur.com.ar