summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi/stmicro.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/stmicro.c
parent66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae (diff)
downloadblackbird-obmc-uboot-b4c87d658c786d1b136a0d69735182c6648b77b5.tar.gz
blackbird-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/stmicro.c')
-rw-r--r--drivers/mtd/spi/stmicro.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c
index a9b33cfd94..5b684792de 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -34,16 +34,8 @@
#include "spi_flash_internal.h"
/* M25Pxx-specific commands */
-#define CMD_M25PXX_WREN 0x06 /* Write Enable */
-#define CMD_M25PXX_WRDI 0x04 /* Write Disable */
-#define CMD_M25PXX_RDSR 0x05 /* Read Status Register */
-#define CMD_M25PXX_WRSR 0x01 /* Write Status Register */
-#define CMD_M25PXX_READ 0x03 /* Read Data Bytes */
-#define CMD_M25PXX_FAST_READ 0x0b /* Read Data Bytes at Higher Speed */
-#define CMD_M25PXX_PP 0x02 /* Page Program */
#define CMD_M25PXX_SE 0xd8 /* Sector Erase */
#define CMD_M25PXX_BE 0xc7 /* Bulk Erase */
-#define CMD_M25PXX_DP 0xb9 /* Deep Power-down */
#define CMD_M25PXX_RES 0xab /* Release from DP, and Read Signature */
struct stmicro_spi_flash_params {
OpenPOWER on IntegriCloud