aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/mxc_nand.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index ef932ba55a0..5ae1d9ee2cf 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -722,9 +722,8 @@ static void mxc_do_addr_cycle(struct mtd_info *mtd, int column, int page_addr)
722 /* 722 /*
723 * MXC NANDFC can only perform full page+spare or 723 * MXC NANDFC can only perform full page+spare or
724 * spare-only read/write. When the upper layers 724 * spare-only read/write. When the upper layers
725 * layers perform a read/write buf operation, 725 * perform a read/write buf operation, the saved column
726 * we will used the saved column address to index into 726 * address is used to index into the full page.
727 * the full page.
728 */ 727 */
729 host->send_addr(host, 0, page_addr == -1); 728 host->send_addr(host, 0, page_addr == -1);
730 if (mtd->writesize > 512) 729 if (mtd->writesize > 512)