[PATCH v1 0/7] fix and improve Micron/SST26* SPI NOR protection handling

Bernhard Kirchen schlimmchen at gmail.com
Thu Jan 28 17:18:40 CET 2021


these patches improve the existing SPI NOR flash protection features by
enabling hardware write protection where applicable, by fixing bugs, and
by providing more information on the status of protection. this shall
make using the protection feature more user-friendly and help meeting
user expectations.


Bernhard Kirchen (7):
  command sf: help text format
  sf protect: warn about failed (un)lock operation
  SST26* locking: need to enable write
  write WPEN bit for SST26* devices when locking
  sf protect (un)lock for SST26*: test BPR values
  fix sst26_process_bpr check
  provide "sf protect check" command

 cmd/sf.c                       |  74 ++++++++-----
 drivers/mtd/spi/spi-nor-core.c | 186 ++++++++++++++++++++++++++++-----
 include/linux/mtd/spi-nor.h    |  18 +++-
 include/spi_flash.h            |   8 ++
 4 files changed, 232 insertions(+), 54 deletions(-)

-- 
2.29.2



More information about the U-Boot mailing list