summary refs log tree commit diff stats
path: root/hw/arm/integratorcp.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:08:50 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:55 +0000
commiteebd06abc6ace6237696693a64e39e52d212dc3c (patch)
tree36f9583bb132ac11c371a7214ed3cfacf4c50a78 /hw/arm/integratorcp.c
parentbf350daae0241ba56504c909de7a8a65adf90a06 (diff)
downloadfocaccia-qemu-eebd06abc6ace6237696693a64e39e52d212dc3c.tar.gz
focaccia-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 'hw/arm/integratorcp.c')
0 files changed, 0 insertions, 0 deletions