Make ARM NAND I/O operations aware of last op
commitcf2cb0fc84d262069282a7363944663c8d2505d3
authorDean Glazeski <dnglaze@gmail.com>
Mon, 16 Nov 2009 19:40:46 +0000 (16 13:40 -0600)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 4 Dec 2009 01:29:42 +0000 (3 17:29 -0800)
tree4ea071448800da62e97e1ffde8c15c628bb42fd6
parent66985bb30619c412984a2cfa1c0b3c4a324dbe78
Make ARM NAND I/O operations aware of last op

Updates the ARM NAND I/O code to look at and update the op
field of arm_nand_data to reflect the last operation performed.
It uses this field to copy the correct code to the target in the
case where the struct is used for reads and writes.

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