summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/eon.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/eon.c
parent66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae (diff)
downloadu-boot-imx-b4c87d658c786d1b136a0d69735182c6648b77b5.zip
u-boot-imx-b4c87d658c786d1b136a0d69735182c6648b77b5.tar.gz
u-boot-imx-b4c87d658c786d1b136a0d69735182c6648b77b5.tar.bz2
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/eon.c')
-rw-r--r--drivers/mtd/spi/eon.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/spi/eon.c
index f9352f9..6a3bf0f 100644
--- a/drivers/mtd/spi/eon.c
+++ b/drivers/mtd/spi/eon.c
@@ -11,17 +11,8 @@
#include "spi_flash_internal.h"
/* EN25Q128-specific commands */
-#define CMD_EN25Q128_WREN 0x06 /* Write Enable */
-#define CMD_EN25Q128_WRDI 0x04 /* Write Disable */
-#define CMD_EN25Q128_RDSR 0x05 /* Read Status Register */
-#define CMD_EN25Q128_WRSR 0x01 /* Write Status Register */
-#define CMD_EN25Q128_READ 0x03 /* Read Data Bytes */
-#define CMD_EN25Q128_FAST_READ 0x0b /* Read Data Bytes at Higher Speed */
-#define CMD_EN25Q128_PP 0x02 /* Page Program */
#define CMD_EN25Q128_SE 0x20 /* Sector Erase */
#define CMD_EN25Q128_BE 0xd8 /* Block Erase */
-#define CMD_EN25Q128_DP 0xb9 /* Deep Power-down */
-#define CMD_EN25Q128_RES 0xab /* Release from DP, and Read Signature */
struct eon_spi_flash_params {
u8 idcode1;