[PATCH v3 0/2] mtd: spi-nor: Cleanup patches

Tudor Ambarus tudor.ambarus at microchip.com
Mon Mar 22 07:51:29 GMT 2021


Various cleanup patches done while reviewing contributions.

Tudor Ambarus (2):
  mtd: spi-nor: Move Software Write Protection logic out of the core
  mtd: spi-nor: swp: Improve code around spi_nor_check_lock_status_sr()

 drivers/mtd/spi-nor/Makefile |   2 +-
 drivers/mtd/spi-nor/core.c   | 406 +--------------------------------
 drivers/mtd/spi-nor/core.h   |   4 +
 drivers/mtd/spi-nor/swp.c    | 427 +++++++++++++++++++++++++++++++++++
 4 files changed, 435 insertions(+), 404 deletions(-)
 create mode 100644 drivers/mtd/spi-nor/swp.c

-- 
2.25.1




More information about the linux-mtd mailing list