summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-12-10 12:16:41 +0000
committerScott Wood <scottwood@freescale.com>2010-12-17 14:32:12 -0600
commit1ce7084a1556d376bdbdfb93ab86a852f71c1dbe (patch)
tree4e602de64f2327f1bb2b0ed903b238117bab5402 /include/linux
parent41c86240567307655ad837be17e6f5fa2a06452f (diff)
downloadu-boot-imx-1ce7084a1556d376bdbdfb93ab86a852f71c1dbe.zip
u-boot-imx-1ce7084a1556d376bdbdfb93ab86a852f71c1dbe.tar.gz
u-boot-imx-1ce7084a1556d376bdbdfb93ab86a852f71c1dbe.tar.bz2
NAND: add NAND_CMD_PARAM (0xec) definition
This command is used to read the device ONFI parameters page. Signed-off-by: Florian Fainelli <florian@openwrt.org>
Diffstat (limited to 'include/linux')
-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 519f47e..1128f5a 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -84,6 +84,7 @@ extern void nand_wait_ready(struct mtd_info *mtd);
#define NAND_CMD_SEQIN 0x80
#define NAND_CMD_RNDIN 0x85
#define NAND_CMD_READID 0x90
+#define NAND_CMD_PARAM 0xec
#define NAND_CMD_ERASE2 0xd0
#define NAND_CMD_RESET 0xff