summaryrefslogtreecommitdiff
path: root/drivers/dfu/dfu_nand.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-03-31 17:17:06 -0400
committerTom Rini <trini@konsulko.com>2015-03-31 17:17:06 -0400
commit482cbd553daf3d9cd21e564702bac84a6bd43f2f (patch)
treeba0c09e8301e7fae94072408e4d6f4254b2d238f /drivers/dfu/dfu_nand.c
parent9da7e3daf31d7c0c8478a57544bfdd6245e53ff3 (diff)
parent55765b1842e7dcf22efa8d973c7d1b7498dd99fa (diff)
downloadu-boot-imx-482cbd553daf3d9cd21e564702bac84a6bd43f2f.zip
u-boot-imx-482cbd553daf3d9cd21e564702bac84a6bd43f2f.tar.gz
u-boot-imx-482cbd553daf3d9cd21e564702bac84a6bd43f2f.tar.bz2
Merge git://git.denx.de/u-boot-nand-flash
Diffstat (limited to 'drivers/dfu/dfu_nand.c')
-rw-r--r--drivers/dfu/dfu_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dfu/dfu_nand.c b/drivers/dfu/dfu_nand.c
index f9ee189..a975492 100644
--- a/drivers/dfu/dfu_nand.c
+++ b/drivers/dfu/dfu_nand.c
@@ -64,7 +64,7 @@ static int nand_block_op(enum dfu_op op, struct dfu_entity *dfu,
return ret;
/* then write */
ret = nand_write_skip_bad(nand, start, &count, &actual,
- lim, buf, 0);
+ lim, buf, WITH_WR_VERIFY);
}
if (ret != 0) {