Stephen Checkoway 80f2c625cb hw/block/pflash_cfi02: Use chip erase time specified in the CFI table
When erasing the chip, use the typical time specified in the CFI table
rather than arbitrarily selecting 5 seconds.

Since the currently unconfigurable value set in the table is 12, this
means a chip erase takes 4096 ms so this isn't a big change in behavior.

Signed-off-by: Stephen Checkoway <stephen.checkoway@oberlin.edu>
Message-Id: <20190426162624.55977-11-stephen.checkoway@oberlin.edu>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-07-02 02:34:55 +02:00
..
2019-06-24 10:42:30 +01:00
2019-06-16 16:16:52 -04:00
2019-06-24 10:42:30 +01:00
2019-06-24 10:42:30 +01:00
2019-06-26 13:25:07 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2019-06-24 10:42:30 +01:00
2019-06-16 16:16:52 -04:00
2019-06-12 14:43:47 +01:00
2019-06-21 13:25:29 +02:00
2019-06-24 10:42:30 +01:00
2019-06-24 10:42:30 +01:00