nand: Correct random data reads.
commitfccd2613d6225f3cb10e861eb64fd7ce3f55eb8b
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>
Tue, 12 Jan 2010 13:48:19 +0000 (12 14:48 +0100)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Thu, 14 Jan 2010 23:06:16 +0000 (15 00:06 +0100)
treebcd59bc5d6bfa6472ec50420eddd2b852cc85b10
parentb88bc808ea94fae3db0633d9b2b008d722ce1caf
nand: Correct random data reads.

Random reading depends on having the last row/page latched and not beeing
clobbered between read and any following random reads.

Also, s->iolen must be updated when loading the io/data register with
randomly accessed flash data.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/nand.c