]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
mtd: nand: add NAND_CMD_PARAM (0xec) definition
authorFlorian Fainelli <florian@openwrt.org>
Mon, 30 Aug 2010 16:32:14 +0000 (18:32 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:45:00 +0000 (23:45 +0100)
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>
include/linux/mtd/nand.h

index a8921c213df5414fc94a89b1db99a698b67988cf..29656a3f93316a00ecf6f49c83338d98d306fde6 100644 (file)
@@ -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