aboutsummaryrefslogtreecommitdiff
path: root/hw/an5206.c
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@gmail.com>2011-11-24 14:31:12 +0100
committerAvi Kivity <avi@redhat.com>2011-11-28 15:38:42 +0200
commit653fa85c9a626f48c92806e4e28c7ccebc05c43e (patch)
tree5c95d7ab8f1f1d13ae4f58109b9b3f4a969c5845 /hw/an5206.c
parent9244b42dea8208e57868ef5552c3be3f921ebd99 (diff)
mcf5206: convert to memory API
Signed-off-by: Benoît Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/an5206.c')
-rw-r--r--hw/an5206.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/an5206.c b/hw/an5206.c
index 3fe1f00d9b..319a40e1d2 100644
--- a/hw/an5206.c
+++ b/hw/an5206.c
@@ -53,7 +53,7 @@ static void an5206_init(ram_addr_t ram_size,
memory_region_init_ram(sram, NULL, "an5206.sram", 512);
memory_region_add_subregion(address_space_mem, AN5206_RAMBAR_ADDR, sram);
- mcf5206_init(AN5206_MBAR_ADDR, env);
+ mcf5206_init(address_space_mem, AN5206_MBAR_ADDR, env);
/* Load kernel. */
if (!kernel_filename) {