mtd: mxc_nand: Remove duplicate NAND_CMD_RESET case value
This reverts commit66803762
("mtd: mxc_nand: add RESET command support"). Support for NAND_CMD_RESET was added separately in commitd4840180
("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>
This commit is contained in:
parent
05d71b4625
commit
73850975e9
|
@ -686,7 +686,6 @@ static void mxc_nand_command(struct mtd_info *mtd, unsigned command,
|
||||||
|
|
||||||
case NAND_CMD_ERASE1:
|
case NAND_CMD_ERASE1:
|
||||||
case NAND_CMD_ERASE2:
|
case NAND_CMD_ERASE2:
|
||||||
case NAND_CMD_RESET:
|
|
||||||
send_cmd(host, command, false);
|
send_cmd(host, command, false);
|
||||||
mxc_do_addr_cycle(mtd, column, page_addr);
|
mxc_do_addr_cycle(mtd, column, page_addr);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue