Skip to content

Port manufacturer specific initialization

Michael Trimarchi u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 0 repliesNew
  2. v10 of 11 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13mtd: nand: Get rid of busw parameterdrivers/mtd/nand/raw/nand_base.c+32 -270 replies
2/13mtd: nand: Store nand ID in struct nand_chipdrivers/mtd/nand/raw/nand_base.c include/linux/mtd/rawnand.h+42 -270 replies
3/13mtd: nand: Add manufacturer specific initialization/detection stepsdrivers/mtd/nand/raw/nand_base.c include/linux/mtd/rawnand.h+102 -180 replies
4/13mtd: nand: Get rid of mtd variable in function callsdrivers/mtd/nand/raw/nand_base.c include/linux/mtd/rawnand.h+12 -110 replies
5/13mtd: nand: Export symbol nand_decode_ext_iddrivers/mtd/nand/raw/nand_base.c include/linux/mtd/rawnand.h+5 -10 replies
6/13mtd: nand: Move Samsung specific init/detection logic in nand_samsung.cdrivers/mtd/nand/raw/Makefile drivers/mtd/nand/raw/nand_base.c drivers/mtd/nand/raw/nand_ids.c +2 more+98 -500 replies
7/13mtd: nand: Move Hynix specific init/detection logic in nand_hynix.cdrivers/mtd/nand/raw/Makefile drivers/mtd/nand/raw/nand_base.c drivers/mtd/nand/raw/nand_hynix.c +2 more+119 -880 replies
8/13mtd: nand: Move Toshiba specific init/detection logic in nand_toshiba.cdrivers/mtd/nand/raw/Makefile drivers/mtd/nand/raw/nand_base.c drivers/mtd/nand/raw/nand_ids.c +2 more+58 -210 replies
9/13mtd: nand: Move Micron specific init logic in nand_micron.cdrivers/mtd/nand/raw/Makefile drivers/mtd/nand/raw/nand_base.c drivers/mtd/nand/raw/nand_ids.c +2 more+92 -530 replies
10/13mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.cdrivers/mtd/nand/raw/Makefile drivers/mtd/nand/raw/nand_amd.c drivers/mtd/nand/raw/nand_base.c +2 more+57 -180 replies
11/13mtd: nand: Move Macronix specific initialization in nand_macronix.cdrivers/mtd/nand/raw/Makefile drivers/mtd/nand/raw/nand_base.c drivers/mtd/nand/raw/nand_ids.c +2 more+35 -130 replies
12/13mtd: nand: toshiba: Retrieve ECC requirements from extended IDdrivers/mtd/nand/raw/nand_toshiba.c+26 -00 replies
13/13mtd: decommission the NAND museumdrivers/mtd/nand/raw/nand_ids.c+0 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 00/13] Port manufacturer specific initialization

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
Signature · 1 line
2.34.1