/[qemu]
ViewVC logotype

Revision 5409


Jump to revision: Previous Next
Author: balrog
Date: Fri Oct 3 23:00:09 2008 UTC (15 years, 1 month ago)
Changed paths: 1
Log Message:
Reset CFI01 flash wcycle after erase confirm (Thomas Petazzoni).

pfl->wcycle was set to 1 when the erase confirm command was set, which
lead to the next command being misinterpreted by Qemu:

pflash_write: Unimplemented flash cmd sequence (offset 00000000,
wcycle 0x1 cmd 0x20 value 0x70)

This patch fixes this issue by resetting pfl->wcycle to 0 on erase
confirm so that the next command is considered as a new one.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Changed paths:

Path Details
Directorytrunk/hw/pflash_cfi01.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5