]> git.sur5r.net Git - openocd/commit
NAND write data page refactoring.
authorDean Glazeski <dnglaze@gmail.com>
Fri, 18 Dec 2009 03:02:40 +0000 (21:02 -0600)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 18 Dec 2009 09:33:19 +0000 (01:33 -0800)
commitef4fbd36d491b1c89cb13d43f6c03e26fd0d8a7d
treeb6f554e133e2544b4b3577cab67476c34c9a8d62
parentb8b4bb0745b63e03eec745ce0eb97bfa6e0792a1
NAND write data page refactoring.

Refactored the write page raw function into two new functions
for writing data to a NAND device and then another function to
finish up a write to a NAND device.  This includes some new
updates to introduce more error checking to existing code.

[dbrownell@users.sourceforge.net: fix fault handling, whitespace]

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/flash/nand/core.c
src/flash/nand/core.h