On Thu, Mar 11, 2021 at 1:36 AM Philippe Mathieu-Daudé <[email protected]> wrote: > > There is multiple places resetting the internal state machine. > Factor the code out in a new pflash_reset_state_machine() method. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > hw/block/pflash_cfi02.c | 20 +++++++++++--------- > 1 file changed, 11 insertions(+), 9 deletions(-) >
Reviewed-by: Bin Meng <[email protected]>
