Pull request for nand-next

Michael Trimarchi michael at amarulasolutions.com
Sun Jul 24 08:19:02 CEST 2022


Hi Tom,

please pull this first batch of Nand related patches:

----------------------------------------------------------------
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
 - imx8mn  Macronix MX30LF4G18AC
----------------------------------------------------------------

Here is the gitlab CI running, without any issue:

https://source.denx.de/u-boot/custodians/u-boot-nand-flash/-/pipelines/12841

Thanks

The following changes since commit 2996b6405e9522082b53ded0392438830ad6c43a:

  Merge https://source.denx.de/u-boot/custodians/u-boot-marvell (2022-07-21 09:16:59 -0400)

are available in the Git repository at:

  git at source.denx.de:u-boot/custodians/u-boot-nand-flash.git 90ba25b7cb78bd85c6af0b6429226c6616dedefa

for you to fetch changes up to 90ba25b7cb78bd85c6af0b6429226c6616dedefa:

  mtd: decommission the NAND museum (2022-07-22 13:29:06 +0200)

----------------------------------------------------------------
Michael Trimarchi (14):
      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: Fix MediaTek MT7621 SoC build
      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/mt7621_nand.c   |   2 +-
 drivers/mtd/nand/raw/nand_amd.c      |  52 +++++
 drivers/mtd/nand/raw/nand_base.c     | 370 ++++++++++++-----------------------
 drivers/mtd/nand/raw/nand_hynix.c    |  85 ++++++++
 drivers/mtd/nand/raw/nand_ids.c      |  24 +--
 drivers/mtd/nand/raw/nand_macronix.c |  31 +++
 drivers/mtd/nand/raw/nand_micron.c   |  87 ++++++++
 drivers/mtd/nand/raw/nand_samsung.c  |  90 +++++++++
 drivers/mtd/nand/raw/nand_toshiba.c  |  79 ++++++++
 include/linux/mtd/rawnand.h          |  78 +++++---
 11 files changed, 626 insertions(+), 282 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


More information about the U-Boot mailing list