From: Florian Fainelli Date: Mon, 30 Aug 2010 16:32:14 +0000 (+0200) Subject: mtd: nand: add NAND_CMD_PARAM (0xec) definition X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=caa4b6f24c2cae586ed3f371ddde7fc1fc75b322;p=openwrt%2Fstaging%2Fblogic.git mtd: nand: add NAND_CMD_PARAM (0xec) definition This command is used to read the device ONFI parameters page. Signed-off-by: Florian Fainelli Signed-off-by: David Woodhouse --- 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