]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
cris: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory
authorDirk Müller <dirk@dmllr.de>
Sat, 4 Apr 2015 12:15:10 +0000 (14:15 +0200)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Sat, 11 Apr 2015 10:03:57 +0000 (20:03 +1000)
commitc0c8584142a13e728178e51f2477c23a84ce74b4
tree17540c02c1da833ba86c5b51c89f7343e2f43686
parent58c24a4775ef7ccf16cfcd695753dfdf149fe29d
cris: 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.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Dirk Mueller <dmueller@suse.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
hw/cris/axis_dev88.c