aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-08-30 12:32:14 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-24 18:45:00 -0400
commitcaa4b6f24c2cae586ed3f371ddde7fc1fc75b322 (patch)
tree3fb8e5528dc1a2ab43d28b0bd81661a900273169 /include/linux/mtd
parent344955fb9cab0ec051f27e846008362b8ce42d36 (diff)
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')
-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);
88#define NAND_CMD_RNDIN 0x85 88#define NAND_CMD_RNDIN 0x85
89#define NAND_CMD_READID 0x90 89#define NAND_CMD_READID 0x90
90#define NAND_CMD_ERASE2 0xd0 90#define NAND_CMD_ERASE2 0xd0
91#define NAND_CMD_PARAM 0xec
91#define NAND_CMD_RESET 0xff 92#define NAND_CMD_RESET 0xff
92 93
93#define NAND_CMD_LOCK 0x2a 94#define NAND_CMD_LOCK 0x2a