summaryrefslogtreecommitdiffstats
path: root/module-common.c
diff options
context:
space:
mode:
authorIgor Mammedov2020-02-19 17:08:50 +0100
committerPatchew Importer2020-02-19 17:49:55 +0100
commiteebd06abc6ace6237696693a64e39e52d212dc3c (patch)
tree36f9583bb132ac11c371a7214ed3cfacf4c50a78 /module-common.c
parentarm/imx25_pdk: drop RAM size fixup (diff)
downloadqemu-eebd06abc6ace6237696693a64e39e52d212dc3c.tar.gz
qemu-eebd06abc6ace6237696693a64e39e52d212dc3c.tar.xz
qemu-eebd06abc6ace6237696693a64e39e52d212dc3c.zip
arm/imx25_pdk: use memdev for RAM
memory_region_allocate_system_memory() API is going away, so replace it with memdev allocated MemoryRegion. The later is initialized by generic code, so board only needs to opt in to memdev scheme by providing MachineClass::default_ram_id and using MachineState::ram instead of manually initializing RAM memory region. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200219160953.13771-17-imammedo@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions