Skip to content

mtd: atmel_nand: enable Nand Flash Controller (NFC) support

Jean-Christophe PLAGNIOL-VILLARD linux-arm-kernel linux-mtd 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/4mtd: atmel_nand: add Nand Flash Controller (NFC) support+0 -01 reply
2/4mtd: atmel_nand: add Nand Flash Controller (NFC) support+0 -01 reply
2/4mtd: atmel_nand: add Nand Flash Controller (NFC) support+0 -00 replies
4/4mtd: atmel_nand: enable Nand Flash Controller (NFC) write via sram+0 -01 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] mtd: atmel_nand: enable Nand Flash Controller (NFC) support
Quoted 3 lines · Josh Wu

This patch series enable NFC support for SAMA5 soc. It can send command, address cycles automaticly. Also when enable NFC sram, NFC will transfer data to sram. Which can save lots of cpu time.

can you give some stats please

and performance comparaisan NFS vs DMA

Best Regards,
J.

Quoted 25 lines

v1 --> v2:
1) rebase it with latest l2-mtd git tree:
- remove useless nand commands (NAND_CMD_DEPLETE1, NAND_CMD_STATUS_ERRORx).
- adopt to the new nand write function's parameters. Add error message when handle subpage write via nfc sram.
2) rewrite pmecc_enable function. Now I use exist NAND_ECC_READ/WRITE const instead of using a new enum definition.

Josh Wu (4):
mtd: atmel_nand: replace pmecc enable code with one function.
mtd: atmel_nand: add Nand Flash Controller (NFC) support
mtd: atmel_nand: enable Nand Flash Controller (NFC) read data via
sram
mtd: atmel_nand: enable Nand Flash Controller (NFC) write via sram

 .../devicetree/bindings/mtd/atmel-nand.txt         |    4 +
 drivers/mtd/nand/atmel_nand.c                      |  657 ++++++++++++++++++--
 drivers/mtd/nand/atmel_nand_nfc.h                  |  106 ++++
 3 files changed, 718 insertions(+), 49 deletions(-)
 create mode 100644 drivers/mtd/nand/atmel_nand_nfc.h
Signature · 1 line
1.7.9.5