ppc: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory
commite938ba0c35b0a6732a380b712b0f19511375a6a4
authorShreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Thu, 10 Jul 2014 12:01:03 +0000 (10 17:31 +0530)
committerAlexander Graf <agraf@suse.de>
Tue, 15 Jul 2014 14:11:58 +0000 (15 16:11 +0200)
treeb66e0a3ce53e6ad2ea0b87cc3474b9a85b83e8c2
parent063cac5326518abfcd4f3f0eaace3fa9b1a97424
ppc: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

Commit 0b183fc871:"memory: move mem_path handling to
memory_region_allocate_system_memory" split memory_region_init_ram and
memory_region_init_ram_from_file. Also it moved mem-path handling a step
up from memory_region_init_ram to memory_region_allocate_system_memory.

Therefore for any board that uses memory_region_init_ram directly,
-mem-path is not supported.

Fix this by replacing memory_region_init_ram with
memory_region_allocate_system_memory.

Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/e500.c
hw/ppc/mac_newworld.c
hw/ppc/mac_oldworld.c
hw/ppc/ppc405_boards.c
hw/ppc/ppc405_uc.c
hw/ppc/ppc4xx_devs.c
hw/ppc/prep.c
hw/ppc/virtex_ml507.c