aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/pxa2xx.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:00 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:56 +0000
commit238ea0e311560eebc5a531cad6adabc66224eb2c (patch)
tree15cc2e022f2e6f6ecbf8813f2bd3d7b082b16089 /hw/arm/pxa2xx.c
parent7998beb9c2e280f0b7424223747941f106e2e854 (diff)
downloadqemu-238ea0e311560eebc5a531cad6adabc66224eb2c.zip
qemu-238ea0e311560eebc5a531cad6adabc66224eb2c.tar.gz
qemu-238ea0e311560eebc5a531cad6adabc66224eb2c.tar.bz2
arm/omap_sx1: 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: while at it add check for user supplied RAM size and error out if it mismatches board expected value. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200219160953.13771-27-imammedo@redhat.com>
Diffstat (limited to 'hw/arm/pxa2xx.c')
0 files changed, 0 insertions, 0 deletions