summaryrefslogtreecommitdiff
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-08-30 20:32:14 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 02:45:00 +0400
commitcaa4b6f24c2cae586ed3f371ddde7fc1fc75b322 (patch)
tree3fb8e5528dc1a2ab43d28b0bd81661a900273169 /include/linux/mtd/nand.h
parent344955fb9cab0ec051f27e846008362b8ce42d36 (diff)
downloadlinux-caa4b6f24c2cae586ed3f371ddde7fc1fc75b322.tar.xz
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@freebox.fr> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r--include/linux/mtd/nand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index a8921c213df5..29656a3f9331 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