diff options
| author | Joe Hershberger <joe.hershberger@ni.com> | 2012-08-22 16:49:44 -0500 | 
|---|---|---|
| committer | Scott Wood <scottwood@freescale.com> | 2012-09-17 17:33:42 -0500 | 
| commit | 33b1d5cae3defdbeb30333ffac41bcbff85c5019 (patch) | |
| tree | f39a99f2d45f071a7eb222d010f87fb97fa0f482 /include/linux/mtd/nand.h | |
| parent | e331ab2ee9b141f1de2a8fb0bfaf52f6273022f9 (diff) | |
| download | olio-uboot-2014.01-33b1d5cae3defdbeb30333ffac41bcbff85c5019.tar.xz olio-uboot-2014.01-33b1d5cae3defdbeb30333ffac41bcbff85c5019.zip | |
nand: consolidate duplicated constants
NAND_CMD_ constants for lock/unlock should be in the header
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/linux/mtd/nand.h')
| -rw-r--r-- | include/linux/mtd/nand.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 82704de08..6c4053151 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -85,8 +85,10 @@ extern void nand_wait_ready(struct mtd_info *mtd);  #define NAND_CMD_RESET		0xff  #define NAND_CMD_LOCK		0x2a +#define NAND_CMD_LOCK_TIGHT	0x2c  #define NAND_CMD_UNLOCK1	0x23  #define NAND_CMD_UNLOCK2	0x24 +#define NAND_CMD_LOCK_STATUS	0x7a  /* Extended commands for large page devices */  #define NAND_CMD_READSTART	0x30 |