mtd: nand: add NAND_CMD_PARAM (0xec) definition

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Oct 24 20:59:04 EDT 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=caa4b6f24c2cae586ed3f371ddde7fc1fc75b322
Commit:     caa4b6f24c2cae586ed3f371ddde7fc1fc75b322
Parent:     344955fb9cab0ec051f27e846008362b8ce42d36
Author:     Florian Fainelli <florian at openwrt.org>
AuthorDate: Mon Aug 30 18:32:14 2010 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sun Oct 24 23:45:00 2010 +0100

    mtd: nand: add NAND_CMD_PARAM (0xec) definition
    
    This command is used to read the device ONFI parameters page.
    
    Signed-off-by: Florian Fainelli <ffainelli at freebox.fr>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 include/linux/mtd/nand.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index a8921c2..29656a3 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



More information about the linux-mtd-cvs mailing list