linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] mtd: nand: introduce a READMODE command
@ 2014-04-04 11:45 Gerhard Sittig
  2014-04-04 11:45 ` [PATCH v2 1/3] mtd: nand: comment update, the DEPLETE1 command has gone Gerhard Sittig
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Gerhard Sittig @ 2014-04-04 11:45 UTC (permalink / raw)
  To: linux-mtd
  Cc: Alexander Shiyan, David Mosberger, Gerhard Sittig, Pekon Gupta,
	Brian Norris, David Woodhouse

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-11-05  8:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-04 11:45 [PATCH v2 0/3] mtd: nand: introduce a READMODE command Gerhard Sittig
2014-04-04 11:45 ` [PATCH v2 1/3] mtd: nand: comment update, the DEPLETE1 command has gone Gerhard Sittig
2014-11-05  8:39   ` Brian Norris
2014-04-04 11:45 ` [PATCH v2 2/3] mtd: nand: re-introduce command bits masking Gerhard Sittig
2014-04-04 11:45 ` [PATCH v2 3/3] mtd: nand: introduce a READMODE command Gerhard Sittig
2014-04-15  4:10   ` Gupta, Pekon
2014-04-15  8:43     ` Gerhard Sittig
2014-04-18 10:21       ` Gupta, Pekon
2014-04-14 18:55 ` [PATCH v2 0/3] " Gerhard Sittig
2014-05-05 13:29   ` Gerhard Sittig
2014-05-22 17:01     ` Gerhard Sittig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).