On 18/04/2019 00.01, Stephen Checkoway wrote: > After two unlock cycles and a sector erase command, the AMD flash chips > start a 50 us erase time out. Any additional sector erase commands add a > sector to be erased and restart the 50 us timeout. During the timeout, > status bit DQ3 is cleared. After the time out, DQ3 is asserted during > erasure. > > Signed-off-by: Stephen Checkoway <stephen.checko...@oberlin.edu> > --- > hw/block/pflash_cfi02.c | 94 +++++++++++++++++++++++++++++++-------- > tests/pflash-cfi02-test.c | 59 ++++++++++++++++++++++-- > 2 files changed, 131 insertions(+), 22 deletions(-)
Acked-by: Thomas Huth <th...@redhat.com>