[PATCH v3 0/3] mtd: nand: raw: Collected improvements
Alexander Dahl
ada at thorsis.com
Mon Apr 15 09:45:44 CEST 2024
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:
Link: https://lore.kernel.org/u-boot/20240320090214.40465-1-ada@thorsis.com/
- 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:
Link: https://lore.kernel.org/u-boot/20240307091014.39796-1-ada@thorsis.com/
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
--
2.39.2
More information about the U-Boot
mailing list