linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4 v2] NAND: add NAND_CMD_PARAM (0xec) definition
@ 2010-08-18 12:01 Florian Fainelli
  0 siblings, 0 replies; only message in thread
From: Florian Fainelli @ 2010-08-18 12:01 UTC (permalink / raw)
  To: linux-mtd
  Cc: Maxime Bizon, David Woodhouse, Matthieu CASTET, Brian Norris,
	Artem Bityutskiy


This command is used to read the device ONFI paramaters page.

Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
---
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 102e12c..8b288b6 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -88,6 +88,7 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
 #define NAND_CMD_RNDIN		0x85
 #define NAND_CMD_READID		0x90
 #define NAND_CMD_ERASE2		0xd0
+#define NAND_CMD_PARAM		0xec
 #define NAND_CMD_RESET		0xff
 
 #define NAND_CMD_LOCK		0x2a

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-18 12:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-18 12:01 [PATCH 1/4 v2] NAND: add NAND_CMD_PARAM (0xec) definition Florian Fainelli

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).