]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: Add a NAND_CMD_STATUS when using write verification
authorBastian Hecht <hechtb@googlemail.com>
Fri, 27 Apr 2012 10:19:31 +0000 (12:19 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 29 Apr 2012 17:49:19 +0000 (20:49 +0300)
commitef83db6ab20139d2c0685d33498bdf4bee668d4f
treeaf2c242a3ec1a1f54d39ca8c1b9ae2f43c468349
parentab7c0b1289a0a692230c3845d64c81f37dc87ac1
mtd: nand: Add a NAND_CMD_STATUS when using write verification

To make sure the NAND chip is properly programmed we need a status
command before each page write. When CONFIG_MTD_NAND_VERIFY_WRITE=y this
assumption is broken when writing multiple pages consecutively. This
patch fixes this.

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/nand_base.c