Skip to content

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

Josh Wu linux-arm-kernel linux-mtd 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] mtd: atmel_nand: enable Nand Flash Controller (NFC) support

Hi, Artem

Quoted 12 lines · Artem Bityutskiy
Quoted 11 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.

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

Quoted 2 lines

Please, re-base against the latest l2-mtd.git tree. The patches do not compile:

I've sent out the v2 version which is rebased on the latest l2-mtd.git tree. It fixed the compiler error and imcompatible parameters of the write_page().
Thanks for point out.

Best Regards,
Josh Wu

Quoted 18 lines

--------------------------------------------------------------------------------
Failed to build the following commit for configuration "arm-at91cap9_defconfig" (architecture arm)":

2bd4bff mtd: atmel_nand: enable Nand Flash Controller (NFC) write via sram

drivers/mtd/nand/atmel_nand.c: In function 'nfc_nand_command':
drivers/mtd/nand/atmel_nand.c:1848: error: 'NAND_CMD_DEPLETE1' undeclared (first use in this function) drivers/mtd/nand/atmel_nand.c:1848: error: (Each undeclared identifier is reported only once drivers/mtd/nand/atmel_nand.c:1848: error: for each function it appears in.) drivers/mtd/nand/atmel_nand.c:1854: error: 'NAND_CMD_STATUS_ERROR' undeclared (first use in this function) drivers/mtd/nand/atmel_nand.c:1855: error: 'NAND_CMD_STATUS_ERROR0' undeclared (first use in this function) drivers/mtd/nand/atmel_nand.c:1856: error: 'NAND_CMD_STATUS_ERROR1' undeclared (first use in this function) drivers/mtd/nand/atmel_nand.c:1857: error: 'NAND_CMD_STATUS_ERROR2' undeclared (first use in this function) drivers/mtd/nand/atmel_nand.c:1858: error: 'NAND_CMD_STATUS_ERROR3' undeclared (first use in this function) drivers/mtd/nand/atmel_nand.c: In function 'nfc_sram_init':
drivers/mtd/nand/atmel_nand.c:1979: warning: assignment from incompatible pointer type make[4]: *** [drivers/mtd/nand/atmel_nand.o] Error 1