[PATCH] sf: Querying write-protect status before operating the flash
Jagan Teki
jagan at amarulasolutions.com
Tue Jun 29 15:50:28 CEST 2021
On Tue, Jun 22, 2021 at 10:51 AM chao zeng <chaochao2021666 at 163.com> wrote:
>
> From: Chao Zeng <chao.zeng at siemens.com>
>
> 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 if the write-protection has enbale
> before operating the flash.
>
> Signed-off-by: Chao Zeng <chao.zeng at siemens.com>
> ---
Does it broken on master? if yes can you check in u-boot-spi/next?
Jagan.
More information about the U-Boot
mailing list