summary refs log tree commit diff stats
path: root/hw/core/null-machine.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:02 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:56 +0000
commit778f43267a3fd0b3cb8f9142ba9d0cc9b78f8c5f (patch)
tree9d3d2d955647cf6586094831fe1147cb58b816cd /hw/core/null-machine.c
parent7f1679dc2cee57d3046446fa1d71813071888218 (diff)
downloadfocaccia-qemu-778f43267a3fd0b3cb8f9142ba9d0cc9b78f8c5f.tar.gz
focaccia-qemu-778f43267a3fd0b3cb8f9142ba9d0cc9b78f8c5f.zip
arm/sabrelite: 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.

PS:
 remove no longer needed IMX6Sabrelite

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200219160953.13771-29-imammedo@redhat.com>
Diffstat (limited to 'hw/core/null-machine.c')
0 files changed, 0 insertions, 0 deletions