Re: [PATCH v2 5/5] mtd: spi-nor: add Kconfig option to disable write protection at power-up

2019-08-07 Thread Vignesh Raghavendra
Hi Tudor On 17-Jul-19 5:00 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus [...] > > drivers/mtd/spi-nor/Kconfig | 8 > drivers/mtd/spi-nor/spi-nor.c | 7 +-- > 2 files changed, 13 insertions(+), 2 deletions(-) > > diff --git a/drivers/mtd/spi-nor/Kconfig b/driver

[PATCH v2 5/5] mtd: spi-nor: add Kconfig option to disable write protection at power-up

2019-07-17 Thread Tudor.Ambarus
From: Tudor Ambarus Some spi-nor flashes come write protected by default after a power-on sequence to avoid destructing commands (erase, write) during power-up. Backward compatibility imposes to disable the write protection at power-up by default. Add a Kconfig option to let the user benefit of