hw/block/pflash_cfi02: Set romd mode in pflash_cfi02_realize()
commit1d4ae5a34f45e530d2dfd2cb86fa9e86b0abec29
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 25 Mar 2021 11:53:37 +0000 (25 12:53 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 11 May 2021 16:10:56 +0000 (11 18:10 +0200)
tree45e152f8d60f35496fa90915b533f8087bfa5473
parentf9a576a818044133f8564e0d243ebd97df0b3280
hw/block/pflash_cfi02: Set romd mode in pflash_cfi02_realize()

The ROMD mode isn't related to mapping setup.
Ideally we'd set this mode when the state machine resets,
but for now simply move it to pflash_cfi02_realize() to
not introduce logical change.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210325120921.858993-2-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/block/pflash_cfi02.c