]> git.sur5r.net Git - u-boot/commit
mtd: nand: fix the partial page write condition
authorhtbegin <hotforest@gmail.com>
Fri, 1 Mar 2013 22:59:27 +0000 (22:59 +0000)
committerScott Wood <scottwood@freescale.com>
Wed, 22 May 2013 21:43:47 +0000 (16:43 -0500)
commit070fd8e5295185546801a0f11ea5edd22833a02b
treec06d960881630165002c6895da92d8e3ac5df11f
parente834402fa09de8537ab850b971f6e468e3430593
mtd: nand: fix the partial page write condition

When writelen is mtd->writesize - 1, it is still a partial page write

Signed-off-by: Tao Hou <hotforest@gmail.com>
Cc: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_base.c