Re: [RFC PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-03-02 Thread Vignesh Raghavendra
On 3/2/21 9:49 PM, Michael Walle wrote: > Am 2021-03-02 16:30, schrieb Vignesh Raghavendra: >> Hi, >> >> On 3/2/21 4:39 PM, Michael Walle wrote: >>> This may sound like a contradiction but some SPI-NOR flashes really >>> support erasing their OTP region until it is finally locked. Having the

Re: [RFC PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-03-02 Thread Michael Walle
Am 2021-03-02 17:33, schrieb Vignesh Raghavendra: On 3/2/21 9:49 PM, Michael Walle wrote: Am 2021-03-02 16:30, schrieb Vignesh Raghavendra: Hi, On 3/2/21 4:39 PM, Michael Walle wrote: This may sound like a contradiction but some SPI-NOR flashes really support erasing their OTP region until

Re: [RFC PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-03-02 Thread Michael Walle
Am 2021-03-02 16:30, schrieb Vignesh Raghavendra: Hi, On 3/2/21 4:39 PM, Michael Walle wrote: This may sound like a contradiction but some SPI-NOR flashes really support erasing their OTP region until it is finally locked. Having the possibility to erase an OTP region might come in handy

Re: [RFC PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-03-02 Thread Vignesh Raghavendra
Hi, On 3/2/21 4:39 PM, Michael Walle wrote: > This may sound like a contradiction but some SPI-NOR flashes really > support erasing their OTP region until it is finally locked. Having the > possibility to erase an OTP region might come in handy during > development. > > The ioctl argument

Re: [RFC PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-03-02 Thread Michael Walle
Hi, Am 2021-03-02 13:46, schrieb Miquel Raynal: Michael Walle wrote on Tue, 2 Mar 2021 12:09:27 +0100: This may sound like a contradiction but some SPI-NOR flashes really support erasing their OTP region until it is finally locked. Having the possibility to erase an OTP region might come

Re: [RFC PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-03-02 Thread Miquel Raynal
Hi Michael, Michael Walle wrote on Tue, 2 Mar 2021 12:09:27 +0100: > This may sound like a contradiction but some SPI-NOR flashes really > support erasing their OTP region until it is finally locked. Having the > possibility to erase an OTP region might come in handy during > development. > >

[RFC PATCH] mtd: add OTP (one-time-programmable) erase ioctl

2021-03-02 Thread Michael Walle
This may sound like a contradiction but some SPI-NOR flashes really support erasing their OTP region until it is finally locked. Having the possibility to erase an OTP region might come in handy during development. The ioctl argument follows the OTPLOCK style. Signed-off-by: Michael Walle ---