summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi/spansion.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-28 16:26:03 -0800
committerMike Frysinger <vapier@gentoo.org>2012-07-20 00:41:36 -0400
commitb4c87d658c786d1b136a0d69735182c6648b77b5 (patch)
tree04feed744696fe5bf440bf1d75a46bcbe67d8413 /drivers/mtd/spi/spansion.c
parent66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae (diff)
downloadtalos-obmc-uboot-b4c87d658c786d1b136a0d69735182c6648b77b5.tar.gz
talos-obmc-uboot-b4c87d658c786d1b136a0d69735182c6648b77b5.zip
sf: drop unused/duplicate command defines
In an effort to unify the spi flash drivers further, drop all the unused and/or duplicate command defines. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mtd/spi/spansion.c')
-rw-r--r--drivers/mtd/spi/spansion.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c
index 6301d87123..b99bd13e7e 100644
--- a/drivers/mtd/spi/spansion.c
+++ b/drivers/mtd/spi/spansion.c
@@ -32,18 +32,8 @@
#include "spi_flash_internal.h"
/* S25FLxx-specific commands */
-#define CMD_S25FLXX_READ 0x03 /* Read Data Bytes */
-#define CMD_S25FLXX_FAST_READ 0x0b /* Read Data Bytes at Higher Speed */
-#define CMD_S25FLXX_READID 0x90 /* Read Manufacture ID and Device ID */
-#define CMD_S25FLXX_WREN 0x06 /* Write Enable */
-#define CMD_S25FLXX_WRDI 0x04 /* Write Disable */
-#define CMD_S25FLXX_RDSR 0x05 /* Read Status Register */
-#define CMD_S25FLXX_WRSR 0x01 /* Write Status Register */
-#define CMD_S25FLXX_PP 0x02 /* Page Program */
#define CMD_S25FLXX_SE 0xd8 /* Sector Erase */
#define CMD_S25FLXX_BE 0xc7 /* Bulk Erase */
-#define CMD_S25FLXX_DP 0xb9 /* Deep Power-down */
-#define CMD_S25FLXX_RES 0xab /* Release from DP, and Read Signature */
#define SPSN_ID_S25FL008A 0x0213
#define SPSN_ID_S25FL016A 0x0214
OpenPOWER on IntegriCloud