aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf5208.c
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@gmail.com>2011-11-24 14:31:13 +0100
committerAvi Kivity <avi@redhat.com>2011-11-28 15:38:42 +0200
commitaa6e4986b8f6c435bf4e8aa4328b06d9e84524bb (patch)
treed087e4b9001373061fa613655edb511b9197b842 /hw/mcf5208.c
parent653fa85c9a626f48c92806e4e28c7ccebc05c43e (diff)
downloadqemu-aa6e4986b8f6c435bf4e8aa4328b06d9e84524bb.zip
qemu-aa6e4986b8f6c435bf4e8aa4328b06d9e84524bb.tar.gz
qemu-aa6e4986b8f6c435bf4e8aa4328b06d9e84524bb.tar.bz2
mcf_uart: 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/mcf5208.c')
-rw-r--r--hw/mcf5208.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/mcf5208.c b/hw/mcf5208.c
index 1c2c0c4..0119430 100644
--- a/hw/mcf5208.c
+++ b/hw/mcf5208.c
@@ -223,9 +223,9 @@ static void mcf5208evb_init(ram_addr_t ram_size,
/* Internal peripherals. */
pic = mcf_intc_init(0xfc048000, env);
- mcf_uart_mm_init(0xfc060000, pic[26], serial_hds[0]);
- mcf_uart_mm_init(0xfc064000, pic[27], serial_hds[1]);
- mcf_uart_mm_init(0xfc068000, pic[28], serial_hds[2]);
+ mcf_uart_mm_init(address_space_mem, 0xfc060000, pic[26], serial_hds[0]);
+ mcf_uart_mm_init(address_space_mem, 0xfc064000, pic[27], serial_hds[1]);
+ mcf_uart_mm_init(address_space_mem, 0xfc068000, pic[28], serial_hds[2]);
mcf5208_sys_init(address_space_mem, pic);