aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/imx25_pdk.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:08:47 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:54 +0000
commit4daf95d6079132eafcfba7465402fa4a1d3cd2a7 (patch)
tree7b10ed55a2077b01a5656152064a10fe87c366c3 /hw/arm/imx25_pdk.c
parent0f07fe38e4a1957eb31f5337eb455499675b3452 (diff)
arm/digic_boards: 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 DigicBoardState PS2: 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-14-imammedo@redhat.com>
Diffstat (limited to 'hw/arm/imx25_pdk.c')
0 files changed, 0 insertions, 0 deletions