aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2010-05-20 05:04:23 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-05-20 05:10:33 -0400
commit73850975e9a070abeed5912a24975d531fd5074c (patch)
tree7a104a21758ed3f1a3f5531ebd9c6285fb8c69b0 /drivers/mtd
parent05d71b4625bdadd7c7ae80455e7038e221c76e4d (diff)
mtd: mxc_nand: Remove duplicate NAND_CMD_RESET case value
This reverts commit 66803762 ("mtd: mxc_nand: add RESET command support"). Support for NAND_CMD_RESET was added separately in commit d4840180 ("mtd: mxc_nand: set NFC registers after reset"), causing a build error: drivers/mtd/nand/mxc_nand.c: In function 'mxc_nand_command': drivers/mtd/nand/mxc_nand.c:689: error: duplicate case value drivers/mtd/nand/mxc_nand.c:606: error: previously used here Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/mxc_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 35da3dc4bd17..82e94389824e 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -686,7 +686,6 @@ static void mxc_nand_command(struct mtd_info *mtd, unsigned command,
686 686
687 case NAND_CMD_ERASE1: 687 case NAND_CMD_ERASE1:
688 case NAND_CMD_ERASE2: 688 case NAND_CMD_ERASE2:
689 case NAND_CMD_RESET:
690 send_cmd(host, command, false); 689 send_cmd(host, command, false);
691 mxc_do_addr_cycle(mtd, column, page_addr); 690 mxc_do_addr_cycle(mtd, column, page_addr);
692 691