diff options
| author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-03-04 07:35:56 -0500 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-04-05 07:01:33 -0400 |
| commit | 0be718e5525a73557e76ea1c05b8001dde507049 (patch) | |
| tree | 32772fb45dcc22fde0becd56e6d94af63b668e65 /include/linux/mtd | |
| parent | 14c6578683367b1e7af0c3c09e872b45a45183a7 (diff) | |
mtd: nand: remove a bunch of unused commands
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/nand.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 7cc299436f94..e5d6160a4511 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
| @@ -86,7 +86,6 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); | |||
| 86 | #define NAND_CMD_READOOB 0x50 | 86 | #define NAND_CMD_READOOB 0x50 |
| 87 | #define NAND_CMD_ERASE1 0x60 | 87 | #define NAND_CMD_ERASE1 0x60 |
| 88 | #define NAND_CMD_STATUS 0x70 | 88 | #define NAND_CMD_STATUS 0x70 |
| 89 | #define NAND_CMD_STATUS_MULTI 0x71 | ||
| 90 | #define NAND_CMD_SEQIN 0x80 | 89 | #define NAND_CMD_SEQIN 0x80 |
| 91 | #define NAND_CMD_RNDIN 0x85 | 90 | #define NAND_CMD_RNDIN 0x85 |
| 92 | #define NAND_CMD_READID 0x90 | 91 | #define NAND_CMD_READID 0x90 |
| @@ -105,25 +104,6 @@ extern int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); | |||
| 105 | #define NAND_CMD_RNDOUTSTART 0xE0 | 104 | #define NAND_CMD_RNDOUTSTART 0xE0 |
| 106 | #define NAND_CMD_CACHEDPROG 0x15 | 105 | #define NAND_CMD_CACHEDPROG 0x15 |
| 107 | 106 | ||
| 108 | /* Extended commands for AG-AND device */ | ||
| 109 | /* | ||
| 110 | * Note: the command for NAND_CMD_DEPLETE1 is really 0x00 but | ||
| 111 | * there is no way to distinguish that from NAND_CMD_READ0 | ||
| 112 | * until the remaining sequence of commands has been completed | ||
| 113 | * so add a high order bit and mask it off in the command. | ||
| 114 | */ | ||
| 115 | #define NAND_CMD_DEPLETE1 0x100 | ||
| 116 | #define NAND_CMD_DEPLETE2 0x38 | ||
| 117 | #define NAND_CMD_STATUS_MULTI 0x71 | ||
| 118 | #define NAND_CMD_STATUS_ERROR 0x72 | ||
| 119 | /* multi-bank error status (banks 0-3) */ | ||
| 120 | #define NAND_CMD_STATUS_ERROR0 0x73 | ||
| 121 | #define NAND_CMD_STATUS_ERROR1 0x74 | ||
| 122 | #define NAND_CMD_STATUS_ERROR2 0x75 | ||
| 123 | #define NAND_CMD_STATUS_ERROR3 0x76 | ||
| 124 | #define NAND_CMD_STATUS_RESET 0x7f | ||
| 125 | #define NAND_CMD_STATUS_CLEAR 0xff | ||
| 126 | |||
| 127 | #define NAND_CMD_NONE -1 | 107 | #define NAND_CMD_NONE -1 |
| 128 | 108 | ||
| 129 | /* Status bits */ | 109 | /* Status bits */ |
