[PATCH V2 00/13] Port manufacturer specific initialization

Michael Trimarchi michael at amarulasolutions.com
Tue Jul 19 22:21:50 CEST 2022


In preparation of re-sync of mtd stack, we opt to move the current stack
slowly in order to have a more easy sync and test. We would like to
prepare uboot to support no-jedec and no-onfi compliant nand so we need
to clean up a bit the code we have now and upstream some of the support.
In this series we expect no functional change

Tested on:
        - imx6ull Micron MT29F2G08ABAGAH4

Michael Trimarchi (13):
  mtd: nand: Get rid of busw parameter
  mtd: nand: Store nand ID in struct nand_chip
  mtd: nand: Add manufacturer specific initialization/detection steps
  mtd: nand: Get rid of mtd variable in function calls
  mtd: nand: Export symbol nand_decode_ext_id
  mtd: nand: Move Samsung specific init/detection logic in
    nand_samsung.c
  mtd: nand: Move Hynix specific init/detection logic in nand_hynix.c
  mtd: nand: Move Toshiba specific init/detection logic in
    nand_toshiba.c
  mtd: nand: Move Micron specific init logic in nand_micron.c
  mtd: nand: Move AMD/Spansion specific init/detection logic in
    nand_amd.c
  mtd: nand: Move Macronix specific initialization in nand_macronix.c
  mtd: nand: toshiba: Retrieve ECC requirements from extended ID
  mtd: decommission the NAND museum

 drivers/mtd/nand/raw/Makefile        |  10 +-
 drivers/mtd/nand/raw/nand_amd.c      |  51 ++++
 drivers/mtd/nand/raw/nand_base.c     | 359 ++++++++++-----------------
 drivers/mtd/nand/raw/nand_hynix.c    |  84 +++++++
 drivers/mtd/nand/raw/nand_ids.c      |  24 +-
 drivers/mtd/nand/raw/nand_macronix.c |  30 +++
 drivers/mtd/nand/raw/nand_micron.c   |  86 +++++++
 drivers/mtd/nand/raw/nand_samsung.c  |  89 +++++++
 drivers/mtd/nand/raw/nand_toshiba.c  |  78 ++++++
 include/linux/mtd/rawnand.h          |  78 ++++--
 10 files changed, 615 insertions(+), 274 deletions(-)
 create mode 100644 drivers/mtd/nand/raw/nand_amd.c
 create mode 100644 drivers/mtd/nand/raw/nand_hynix.c
 create mode 100644 drivers/mtd/nand/raw/nand_macronix.c
 create mode 100644 drivers/mtd/nand/raw/nand_micron.c
 create mode 100644 drivers/mtd/nand/raw/nand_samsung.c
 create mode 100644 drivers/mtd/nand/raw/nand_toshiba.c

-- 
2.34.1



More information about the U-Boot mailing list