summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/sf_internal.h
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2016-08-08 17:19:08 +0530
committerJagan Teki <jagannadh.teki@gmail.com>2016-09-22 01:02:28 +0530
commitddc2dfbb657de0b168447c6b5818855d34845d44 (patch)
treed912f3bd8dbc1926e86e3feff4cbcd05d9447776 /drivers/mtd/spi/sf_internal.h
parent3ac48d0e886fdbd6d7f324e9fc7c61aa02b644fa (diff)
sf: Remove SECT_32K
SECT_32K never used anywhere in the code. Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Cc: Vignesh R <vigneshr@ti.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'drivers/mtd/spi/sf_internal.h')
-rw-r--r--drivers/mtd/spi/sf_internal.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/mtd/spi/sf_internal.h b/drivers/mtd/spi/sf_internal.h
index 71ba1a6a5b..9eb0b84651 100644
--- a/drivers/mtd/spi/sf_internal.h
+++ b/drivers/mtd/spi/sf_internal.h
@@ -27,14 +27,13 @@ enum {
#else
SECT_4K = BIT(0),
#endif
- SECT_32K = BIT(1),
- E_FSR = BIT(2),
- SST_WR = BIT(3),
- WR_QPP = BIT(4),
- RD_QUAD = BIT(5),
- RD_DUAL = BIT(6),
- RD_QUADIO = BIT(7),
- RD_DUALIO = BIT(8),
+ E_FSR = BIT(1),
+ SST_WR = BIT(2),
+ WR_QPP = BIT(3),
+ RD_QUAD = BIT(4),
+ RD_DUAL = BIT(5),
+ RD_QUADIO = BIT(6),
+ RD_DUALIO = BIT(7),
};
#define RD_FULL RD_QUAD | RD_DUAL | RD_QUADIO | RD_DUALIO
@@ -57,7 +56,6 @@ enum spi_nor_option_flags {
/* Erase commands */
#define CMD_ERASE_4K 0x20
-#define CMD_ERASE_32K 0x52
#define CMD_ERASE_CHIP 0xc7
#define CMD_ERASE_64K 0xd8