Skip to content

mtd: nand: introduce a READMODE command

Gerhard Sittig linux-mtd 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mtd: nand: comment update, the DEPLETE1 command has gonedrivers/mtd/nand/nand_base.c+1 -11 reply
2/3mtd: nand: re-introduce command bits maskingdrivers/mtd/nand/nand_base.c+15 -40 replies
3/3mtd: nand: introduce a READMODE commanddrivers/mtd/nand/nand_base.c include/linux/mtd/nand.h+14 -13 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPekon Gupta
1/3
2/3
3/3A-b

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

Read the v2 thread

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

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(-)
Signature · 1 line
1.7.10.4