Skip to content

mtd: nand: raw: Collected improvements

Alexander Dahl u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 11 repliesIn review
  2. v26 patches 12 repliesApplied
  3. v14 patches 17 repliesSuperseded

Changes in v3 from the cover letter

- 4 patches removed, applied to master
- other 2 patches from v2 unchanged, still under test
- added new third patch with a fix for atmel nand timings (forgot to send that with v2)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mtd: nand: raw: atmel: Introduce optional debug commandsdrivers/mtd/nand/raw/Kconfig drivers/mtd/nand/raw/atmel/nand-controller.c+304 -00 replies
2/3cmd: nand: Add new optional sub-command 'onfi'cmd/Kconfig cmd/nand.c drivers/mtd/nand/raw/nand_base.c +1 more+73 -10 replies
3/3mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashesdrivers/mtd/nand/raw/atmel/nand-controller.c+9 -411 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchMihai Sain
1/3T-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] mtd: nand: raw: Collected improvements

Hello everyone,

while working on NAND flash support for a custom board based on the at91 SAM9X60 SoC I stumbled over some issues in the raw nand subsystem.

Some trivial patches of previous iterations of this series were already applied.

Patch 1 introduces a new subcommand for the new atmel nand controller driver. Patch 2 introduces a new subcommand for the nand command to override ONFI timing mode. Both are are for debugging purposes only and thus optional, and need to be enabled through menu. Both helped me a lot when investigating issues. Patch 3 is a fix carried over from at91bootstrap for faster at91 SoCs with certain raw NAND chips.

Series is based on post v2024.04 master now.

Greets
Alex

v3:

- 4 patches removed, applied to master
- other 2 patches from v2 unchanged, still under test
- added new third patch with a fix for atmel nand timings (forgot to send that with v2)

v2:

- rebased on recent next
- collected tags
- improved patch 4 after feedback from Mihai
- added new patch 5 with another help text fix
- added new patch 6 with a new debug command
- reworded cover letter

v1:

See per patch changes in patches for more detailed changes.

Alexander Dahl (3):
mtd: nand: raw: atmel: Introduce optional debug commands
cmd: nand: Add new optional sub-command 'onfi'
mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

 cmd/Kconfig                                  |  10 +
 cmd/nand.c                                   |  61 ++++
 drivers/mtd/nand/raw/Kconfig                 |   9 +
 drivers/mtd/nand/raw/atmel/nand-controller.c | 308 ++++++++++++++++++-
 drivers/mtd/nand/raw/nand_base.c             |   2 +-
 include/linux/mtd/rawnand.h                  |   1 +
 6 files changed, 386 insertions(+), 5 deletions(-)

base-commit: b03b49046af5dfca599d2ce8f0aafed89b97aa91

Signature · 1 line
2.39.2