diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-07-07 15:42:50 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-07-14 17:59:42 +0100 |
commit | b59821a95bd1d7cb4697fd7748725c910582e0e7 (patch) | |
tree | df1bfc288a92bbd2f2bbcdb588241be9cd87e8ef /hw/arm/fsl-imx25.c | |
parent | 1cfe48c1ce219b60a9096312f7a61806fae64ab3 (diff) | |
download | qemu-b59821a95bd1d7cb4697fd7748725c910582e0e7.zip qemu-b59821a95bd1d7cb4697fd7748725c910582e0e7.tar.gz qemu-b59821a95bd1d7cb4697fd7748725c910582e0e7.tar.bz2 |
memory: Rename memory_region_init_rom() and _rom_device() to _nomigrate()
Rename memory_region_init_rom() to memory_region_init_rom_nomigrate()
and memory_region_init_rom_device() to
memory_region_init_rom_device_nomigrate().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1499438577-7674-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/fsl-imx25.c')
-rw-r--r-- | hw/arm/fsl-imx25.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm/fsl-imx25.c b/hw/arm/fsl-imx25.c index 0455c2b..cebe0ec 100644 --- a/hw/arm/fsl-imx25.c +++ b/hw/arm/fsl-imx25.c @@ -249,7 +249,7 @@ static void fsl_imx25_realize(DeviceState *dev, Error **errp) } /* initialize 2 x 16 KB ROM */ - memory_region_init_rom(&s->rom[0], NULL, + memory_region_init_rom_nomigrate(&s->rom[0], NULL, "imx25.rom0", FSL_IMX25_ROM0_SIZE, &err); if (err) { error_propagate(errp, err); @@ -257,7 +257,7 @@ static void fsl_imx25_realize(DeviceState *dev, Error **errp) } memory_region_add_subregion(get_system_memory(), FSL_IMX25_ROM0_ADDR, &s->rom[0]); - memory_region_init_rom(&s->rom[1], NULL, + memory_region_init_rom_nomigrate(&s->rom[1], NULL, "imx25.rom1", FSL_IMX25_ROM1_SIZE, &err); if (err) { error_propagate(errp, err); |