[PATCH v2 0/3] mtd: nand: introduce a READMODE command

Gerhard Sittig gsi at denx.de
Fri Apr 4 04:45:45 PDT 2014


this series does some minor cleanup in nand_command_lp() and then
introduces a NAND_CMD_READMODE opcode which is similar to the existing
NAND_CMD_READ0 but does not imply NAND_CMD_READSTART

such a READMODE command is useful in preparation of the pending
introduction of on-die-ECC support

changes in v2:
- apply command bit masking in nand_command() as well, such that all
  cmdfunc() variants can accept all defined NAND commands
- reword the command bit masking comments and align their versions in
  the large page and non-large page cases
- rephrase the NAND_CMD_READMODE declaration to better reflect that it
  re-uses the NAND_CMD_READ0 opcode
- update commit messages, mention that for nand_command() the READMODE
  and READ0 commands result in identical behaviour, because there is no
  READSTART involved

Gerhard Sittig (3):
  mtd: nand: comment update, the DEPLETE1 command has gone
  mtd: nand: re-introduce command bits masking
  mtd: nand: introduce a READMODE command

 drivers/mtd/nand/nand_base.c |   23 ++++++++++++++++++-----
 include/linux/mtd/nand.h     |   11 +++++++++++
 2 files changed, 29 insertions(+), 5 deletions(-)

-- 
1.7.10.4




More information about the linux-mtd mailing list