Re: [PATCH v6 4/5] mtd: spi-nor: atmel: Fix unlock_all() for AT25FS010/040

2020-12-02 Thread Tudor.Ambarus
On 11/30/20 4:16 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Am 2020-11-28 09:25, schrieb tudor.amba...@microchip.com: >> On 11/26/20 10:26 PM, Michael Walle wrote: >>> EXTERNAL EMAIL: Do not click links or open attac

Re: [PATCH v6 4/5] mtd: spi-nor: atmel: Fix unlock_all() for AT25FS010/040

2020-11-30 Thread Michael Walle
Am 2020-11-28 09:25, schrieb tudor.amba...@microchip.com: On 11/26/20 10:26 PM, Michael Walle wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe These flashes have some weird BP bits mapping which aren't supported in the current locking code. Ju

Re: [PATCH v6 4/5] mtd: spi-nor: atmel: Fix unlock_all() for AT25FS010/040

2020-11-28 Thread Tudor.Ambarus
On 11/26/20 10:26 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > These flashes have some weird BP bits mapping which aren't supported in > the current locking code. Just add a simple unlock op to unprotect the > entire f

[PATCH v6 4/5] mtd: spi-nor: atmel: Fix unlock_all() for AT25FS010/040

2020-11-26 Thread Michael Walle
These flashes have some weird BP bits mapping which aren't supported in the current locking code. Just add a simple unlock op to unprotect the entire flash array which is needed for legacy behavior. Signed-off-by: Michael Walle --- changes since v5 - new patch drivers/mtd/spi-nor/atmel.c | 53