ARM NAND I/O interface update
commit66985bb30619c412984a2cfa1c0b3c4a324dbe78
authorDean Glazeski <dnglaze@gmail.com>
Mon, 16 Nov 2009 19:34:24 +0000 (16 13:34 -0600)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 4 Dec 2009 01:29:41 +0000 (3 17:29 -0800)
treee8f7bc05dc3266a072a2833c291d9d77332521fb
parent9a51b8b0e3d0b629915a8248e2c112a01ffc93dc
ARM NAND I/O interface update

Modify the arm_nand_data struct to better support both read and
write operations while using the same struct.  An additional
field was added, and initialized, to record the last operation
so that the correct code can be loaded to the working area.

[dbrownell@users.sourceforge.net: merge init patch, tweak GPL note]

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