mbox

[0/7] NAND new improvements

Message ID 20220727093748.1415135-1-michael@amarulasolutions.com
Headers

Message

Michael Trimarchi July 27, 2022, 9:37 a.m. UTC
Another series that move the mtd stack to be more similar to the linux
one. This series include even the merging of the spl part of mxs and
mt7621 in order to create a common layer for new driver and avoid
duplication and small fixes in mxs nand

Michael Trimarchi (7):
  mtd: nand: Rename the nand_manufacturers struct
  mtd: nand: change return type of nand_get_flash_type() to int
  mtd: nand: Rename nand_get_flash_type() into nand_detect()
  mtd: nand: samsung: Retrieve ECC requirements from extended
  mtd: nand: Fix ecc in mxs_nand_spl onfi mode
  mtd: nand: mxs_nand_spl Fix loop exit condition
  mtd: nand: Add a common spl layer for nand subsystem

 drivers/mtd/nand/raw/Makefile          |   4 +-
 drivers/mtd/nand/raw/mt7621_nand.c     |   9 +-
 drivers/mtd/nand/raw/mt7621_nand_spl.c | 188 +------------------
 drivers/mtd/nand/raw/mxs_nand_spl.c    | 190 ++-----------------
 drivers/mtd/nand/raw/nand_base.c       |  37 ++--
 drivers/mtd/nand/raw/nand_common_spl.c | 245 +++++++++++++++++++++++++
 drivers/mtd/nand/raw/nand_common_spl.h |  15 ++
 drivers/mtd/nand/raw/nand_ids.c        |   2 +-
 drivers/mtd/nand/raw/nand_samsung.c    |  20 ++
 include/linux/mtd/rawnand.h            |  13 +-
 10 files changed, 327 insertions(+), 396 deletions(-)
 create mode 100644 drivers/mtd/nand/raw/nand_common_spl.c
 create mode 100644 drivers/mtd/nand/raw/nand_common_spl.h