hw/block/pflash_cfi01: Rename 'reset_flash' label as 'mode_read_array'
commit3072182dc177886edabbdc548b4640bb32d82269
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 16 Jul 2019 17:11:57 +0000 (16 19:11 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 22 May 2020 16:44:36 +0000 (22 18:44 +0200)
tree45a6daaaeeba5b4a96adb04ac8427309fe5b3b45
parentaba53a12bd56902e874b168b07c2ecd7a99e7878
hw/block/pflash_cfi01: Rename 'reset_flash' label as 'mode_read_array'

Rename the 'reset_flash' as 'mode_read_array' to make explicit we
do not reset the device, we simply set its internal state machine
in the READ_ARRAY mode. We do not reset the status register error
bits, as a device reset would do.

Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190716221555.11145-5-philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/block/pflash_cfi01.c