diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-08-30 18:32:14 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-10-24 23:45:00 +0100 |
commit | caa4b6f24c2cae586ed3f371ddde7fc1fc75b322 (patch) | |
tree | 3fb8e5528dc1a2ab43d28b0bd81661a900273169 /include | |
parent | 344955fb9cab0ec051f27e846008362b8ce42d36 (diff) | |
download | op-kernel-dev-caa4b6f24c2cae586ed3f371ddde7fc1fc75b322.zip op-kernel-dev-caa4b6f24c2cae586ed3f371ddde7fc1fc75b322.tar.gz |
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')
-rw-r--r-- | 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..29656a3f 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 |