]> Git Repo - qemu.git/commit - hw/block/pflash_cfi02.c
hw/block/pflash_cfi01, pflash_cfi02: Use memory_region_init_rom_device()
authorPeter Maydell <[email protected]>
Fri, 7 Jul 2017 14:42:54 +0000 (15:42 +0100)
committerPeter Maydell <[email protected]>
Fri, 14 Jul 2017 16:59:42 +0000 (17:59 +0100)
commitbba3ddf72e75e0a0067aff2af424a5fd27004883
tree2fe724ec2eb4932da5c0ebd7eb509f13d20d12d8
parent98a99ce0840991ed28fd4c570ae549c371e89970
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 <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Message-id: 1499438577[email protected]
hw/block/pflash_cfi01.c
hw/block/pflash_cfi02.c
This page took 0.026014 seconds and 4 git commands to generate.