summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/stmicro.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2012-07-20 08:58:06 +0200
committerWolfgang Denk <wd@denx.de>2012-07-20 08:58:06 +0200
commitad8439d4645200b5a4f230dd07b73ae956b88c1e (patch)
treed786dd7edc365175967d5f2cc21b7a65dfd44f2b /drivers/mtd/spi/stmicro.c
parent062cf36f674db38d1ce27addfdcb5b3a6160b362 (diff)
parent7d72b80a903f64721c845cebaa1077a78aacb724 (diff)
downloadu-boot-imx-ad8439d4645200b5a4f230dd07b73ae956b88c1e.zip
u-boot-imx-ad8439d4645200b5a4f230dd07b73ae956b88c1e.tar.gz
u-boot-imx-ad8439d4645200b5a4f230dd07b73ae956b88c1e.tar.bz2
Merge branch 'sf' of git://git.denx.de/u-boot-blackfin
* 'sf' of git://git.denx.de/u-boot-blackfin: sf: spansion: inline useless id defines sf: drop unused/duplicate command defines Signed-off-by: Wolfgang Denk <wd@denx.de>
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 a9b33cf..5b68479 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 {