diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-11-30 02:01:32 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2006-11-30 02:01:32 +0100 |
commit | ab07b6c221da99442b6c93986ca30607c6289bf0 (patch) | |
tree | 610bccb5c1ebd790004268f1efc3a4f29ed3d3bb /drivers/nand | |
parent | 8d9a8610b8256331132227e9e6585c6bd5742787 (diff) | |
parent | 1939d969443ccf316cab2bf32ab1027d4db5ba1a (diff) | |
download | u-boot-imx-ab07b6c221da99442b6c93986ca30607c6289bf0.zip u-boot-imx-ab07b6c221da99442b6c93986ca30607c6289bf0.tar.gz u-boot-imx-ab07b6c221da99442b6c93986ca30607c6289bf0.tar.bz2 |
Merge with http://opensource.freescale.com/pub/scm/u-boot-83xx.git
Diffstat (limited to 'drivers/nand')
-rw-r--r-- | drivers/nand/nand_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nand/nand_base.c b/drivers/nand/nand_base.c index 421550b..7fdf57b 100644 --- a/drivers/nand/nand_base.c +++ b/drivers/nand/nand_base.c @@ -1713,6 +1713,7 @@ static int nand_write_ecc (struct mtd_info *mtd, loff_t to, size_t len, goto out; } *retlen = written; + bufstart = (u_char*) &buf[written]; ofs = autoplace ? mtd->oobavail : mtd->oobsize; if (eccbuf) |