commit | bba3ddf72e75e0a0067aff2af424a5fd27004883 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Fri Jul 07 15:42:54 2017 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Fri Jul 14 17:59:42 2017 +0100 |
tree | 2fe724ec2eb4932da5c0ebd7eb509f13d20d12d8 | |
parent | 98a99ce0840991ed28fd4c570ae549c371e89970 [diff] |
hw/block/pflash_cfi01, pflash_cfi02: Use memory_region_init_rom_device() Since we pass the same DeviceState object to memory_region_init_rom_device_nomigrate() and vmstate_register_ram(), we can switch to using memory_region_init_rom_device() instead. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1499438577-7674-9-git-send-email-peter.maydell@linaro.org