aboutsummaryrefslogtreecommitdiff
path: root/hw/mainstone.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-08-11 16:07:19 -0700
committerAvi Kivity <avi@redhat.com>2011-10-02 16:14:02 +0200
commita6dc4c2d95f7b7bd95a53e8c2e524a8a202b4d1f (patch)
tree1460cb186c2179a19d8f410c147331cdbe198f9d /hw/mainstone.c
parent3e9f0113b4c5ec37fbba0a50b28ea26c8477da93 (diff)
pxa: Pass in address_space to pxa{255, 270}_init
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/mainstone.c')
-rw-r--r--hw/mainstone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c
index 336f31e64e..3ed6649204 100644
--- a/hw/mainstone.c
+++ b/hw/mainstone.c
@@ -110,7 +110,7 @@ static void mainstone_common_init(MemoryRegion *address_space_mem,
cpu_model = "pxa270-c5";
/* Setup CPU & memory */
- cpu = pxa270_init(mainstone_binfo.ram_size, cpu_model);
+ cpu = pxa270_init(address_space_mem, mainstone_binfo.ram_size, cpu_model);
memory_region_init_ram(rom, NULL, "mainstone.rom", MAINSTONE_ROM);
memory_region_set_readonly(rom, true);
memory_region_add_subregion(address_space_mem, 0, rom);