[PATCH 0/2] mtd: spinand: add support for detection with param page

Chuanhong Guo gch981213 at gmail.com
Thu Apr 14 07:34:24 PDT 2022


This patchset adds support for spi-nand detection using parameter page.
This helps dealing with future JEDEC ID conflicts introduced by crazy
vendors. Also, the added ability to auto-detect chip capacity can help
reducing number of entries in our spi-nand id table.

Chuanhong Guo (2):
  mtd: spinand: add support for detection with param page
  mtd: spinand: probe Winbond W25N01GV/W using param page

 drivers/mtd/nand/spi/Makefile  |   2 +-
 drivers/mtd/nand/spi/core.c    |  23 +--
 drivers/mtd/nand/spi/onfi.c    | 298 +++++++++++++++++++++++++++++++++
 drivers/mtd/nand/spi/winbond.c |  25 ++-
 include/linux/mtd/spinand.h    |  53 ++++++
 5 files changed, 380 insertions(+), 21 deletions(-)
 create mode 100644 drivers/mtd/nand/spi/onfi.c

-- 
2.35.1




More information about the linux-mtd mailing list