Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Michael Walle
Am 2021-01-20 14:19, schrieb Tudor Ambarus: Even if sst26vf shares the SPINOR_OP_GBULK opcode with Macronix (ex. MX25U12835F) and Winbound (ex. W25Q128FV), it has its own Individual Block Protection scheme, which is also capable to read-lock individual parameter blocks. Thus the sst26vf's Individ

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Tudor.Ambarus
On 1/20/21 5:02 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Am 2021-01-20 15:52, schrieb tudor.amba...@microchip.com: >> On 1/20/21 4:05 PM, Michael Walle wrote: diff --git a/drivers/mtd/spi-nor/sst.c b/drivers/m

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Michael Walle
Am 2021-01-20 16:39, schrieb tudor.amba...@microchip.com: On 1/20/21 5:02 PM, Michael Walle wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe Am 2021-01-20 15:52, schrieb tudor.amba...@microchip.com: On 1/20/21 4:05 PM, Michael Walle wrote: dif

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Tudor.Ambarus
On 1/20/21 6:47 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Am 2021-01-20 17:25, schrieb tudor.amba...@microchip.com: >> On 1/20/21 5:49 PM, Michael Walle wrote: >>> EXTERNAL EMAIL: Do not click links or open attachme

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Michael Walle
Am 2021-01-20 17:25, schrieb tudor.amba...@microchip.com: On 1/20/21 5:49 PM, Michael Walle wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe Am 2021-01-20 16:39, schrieb tudor.amba...@microchip.com: On 1/20/21 5:02 PM, Michael Walle wrote: EXTE

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Tudor.Ambarus
On 1/20/21 5:49 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Am 2021-01-20 16:39, schrieb tudor.amba...@microchip.com: >> On 1/20/21 5:02 PM, Michael Walle wrote: >>> EXTERNAL EMAIL: Do not click links or open attachme

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Michael Walle
Am 2021-01-20 15:52, schrieb tudor.amba...@microchip.com: On 1/20/21 4:05 PM, Michael Walle wrote: diff --git a/drivers/mtd/spi-nor/sst.c b/drivers/mtd/spi-nor/sst.c index 00e48da0744a..d6e1396abb96 100644 --- a/drivers/mtd/spi-nor/sst.c +++ b/drivers/mtd/spi-nor/sst.c @@ -8,6 +8,39 @@  #includ

Re: [PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Tudor.Ambarus
On 1/20/21 4:05 PM, Michael Walle wrote: >> diff --git a/drivers/mtd/spi-nor/sst.c b/drivers/mtd/spi-nor/sst.c >> index 00e48da0744a..d6e1396abb96 100644 >> --- a/drivers/mtd/spi-nor/sst.c >> +++ b/drivers/mtd/spi-nor/sst.c >> @@ -8,6 +8,39 @@ >> >>  #include "core.h" >> >> +static int sst26vf_lock

[PATCH v2 2/2] mtd: spi-nor: sst: Add support for Global Unlock on sst26vf

2021-01-20 Thread Tudor Ambarus
Even if sst26vf shares the SPINOR_OP_GBULK opcode with Macronix (ex. MX25U12835F) and Winbound (ex. W25Q128FV), it has its own Individual Block Protection scheme, which is also capable to read-lock individual parameter blocks. Thus the sst26vf's Individual Block Protection scheme will reside in the