Re: [PATCH v7 1/7] mtd: spi-nor: sst: fix BPn bits for the SST25VF064C

2020-12-03 Thread Greg KH
On Thu, Dec 03, 2020 at 03:08:49PM +, tudor.amba...@microchip.com wrote: > On 12/3/20 4:39 PM, Michael Walle wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Am 2020-12-03 15:34, schrieb tudor.amba...@microchip.com: > >> On 12/3

Re: [PATCH v7 1/7] mtd: spi-nor: sst: fix BPn bits for the SST25VF064C

2020-12-03 Thread Tudor.Ambarus
On 12/3/20 4:39 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Am 2020-12-03 15:34, schrieb tudor.amba...@microchip.com: >> On 12/3/20 1:00 AM, Michael Walle wrote: >>> EXTERNAL EMAIL: Do not click links or open attachme

Re: [PATCH v7 1/7] mtd: spi-nor: sst: fix BPn bits for the SST25VF064C

2020-12-03 Thread Tudor.Ambarus
On 12/3/20 1:00 AM, Michael Walle wrote: > --- a/drivers/mtd/spi-nor/sst.c > +++ b/drivers/mtd/spi-nor/sst.c > @@ -18,7 +18,8 @@ static const struct flash_info sst_parts[] = { > SECT_4K | SST_WRITE) }, > { "sst25vf032b", INFO(0xbf254a, 0, 64 * 1024, 64, >

Re: [PATCH v7 1/7] mtd: spi-nor: sst: fix BPn bits for the SST25VF064C

2020-12-03 Thread Michael Walle
Am 2020-12-03 15:40, schrieb tudor.amba...@microchip.com: On 12/3/20 1:00 AM, Michael Walle wrote: --- a/drivers/mtd/spi-nor/sst.c +++ b/drivers/mtd/spi-nor/sst.c @@ -18,7 +18,8 @@ static const struct flash_info sst_parts[] = { SECT_4K | SST_WRITE) }, { "sst

Re: [PATCH v7 1/7] mtd: spi-nor: sst: fix BPn bits for the SST25VF064C

2020-12-03 Thread Michael Walle
Am 2020-12-03 15:34, schrieb tudor.amba...@microchip.com: On 12/3/20 1:00 AM, Michael Walle wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe This flash part actually has 4 block protection bits. Reported-by: Tudor Ambarus Cc: sta...@vger.kerne

Re: [PATCH v7 1/7] mtd: spi-nor: sst: fix BPn bits for the SST25VF064C

2020-12-03 Thread Tudor.Ambarus
On 12/3/20 1:00 AM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > This flash part actually has 4 block protection bits. > > Reported-by: Tudor Ambarus > Cc: sta...@vger.kernel.org # v5.7+ While the patch is correct accor

[PATCH v7 1/7] mtd: spi-nor: sst: fix BPn bits for the SST25VF064C

2020-12-02 Thread Michael Walle
This flash part actually has 4 block protection bits. Reported-by: Tudor Ambarus Cc: sta...@vger.kernel.org # v5.7+ Signed-off-by: Michael Walle --- I didn't add the Fixes: tag because we depend on the 4bit BP support which was introduced in 5.7. changes since v6: - new patch drivers/mtd/spi