Re: [PATCH V3] sf: Querying write-protect status before operating the flash

2022-01-17 Thread Tom Rini
On Thu, Jan 13, 2022 at 08:38:04AM +0100, Jan Kiszka wrote: > On 17.11.21 12:59, Tom Rini wrote: > > On Wed, Nov 17, 2021 at 01:43:28PM +0530, Jagan Teki wrote: > > > On Wed, Nov 17, 2021 at 1:33 PM Michael Walle wrote: > > > > > > > > Hi, > > > > > > > > Am 2021-11-17 03:48, schrieb chaochao202

Re: [PATCH V3] sf: Querying write-protect status before operating the flash

2022-01-12 Thread Jan Kiszka
On 17.11.21 12:59, Tom Rini wrote: On Wed, Nov 17, 2021 at 01:43:28PM +0530, Jagan Teki wrote: On Wed, Nov 17, 2021 at 1:33 PM Michael Walle wrote: Hi, Am 2021-11-17 03:48, schrieb chaochao2021...@163.com: From: chao zeng When operating the write-protection flash,spi_flash_std_write() and

Re: [PATCH V3] sf: Querying write-protect status before operating the flash

2021-11-17 Thread Tom Rini
On Wed, Nov 17, 2021 at 01:43:28PM +0530, Jagan Teki wrote: > On Wed, Nov 17, 2021 at 1:33 PM Michael Walle wrote: > > > > Hi, > > > > Am 2021-11-17 03:48, schrieb chaochao2021...@163.com: > > > From: chao zeng > > > > > > When operating the write-protection flash,spi_flash_std_write() and > > >

Re: [PATCH V3] sf: Querying write-protect status before operating the flash

2021-11-17 Thread Jagan Teki
On Wed, Nov 17, 2021 at 1:33 PM Michael Walle wrote: > > Hi, > > Am 2021-11-17 03:48, schrieb chaochao2021...@163.com: > > From: chao zeng > > > > When operating the write-protection flash,spi_flash_std_write() and > > spi_flash_std_erase() would return wrong result.The flash is protected, > > bu

Re: [PATCH V3] sf: Querying write-protect status before operating the flash

2021-11-17 Thread Michael Walle
Hi, Am 2021-11-17 03:48, schrieb chaochao2021...@163.com: From: chao zeng When operating the write-protection flash,spi_flash_std_write() and spi_flash_std_erase() would return wrong result.The flash is protected, but write or erase the flash would show "OK". Check the flash write protection

[PATCH V3] sf: Querying write-protect status before operating the flash

2021-11-16 Thread chaochao2021666
From: chao zeng When operating the write-protection flash,spi_flash_std_write() and spi_flash_std_erase() would return wrong result.The flash is protected, but write or erase the flash would show "OK". Check the flash write protection state before operating the flash and give a prompt to show it