aboutsummaryrefslogtreecommitdiff
path: root/hw/realview.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-14 22:35:07 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-14 22:35:07 +0100
commita7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2 (patch)
treef58239e2318822420d5209cfc5fbf87457c47a33 /hw/realview.c
parent2e9bdce56f307db907f4d6533d3a3917259f859f (diff)
downloadqemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.zip
qemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.tar.gz
qemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.tar.bz2
PL011 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/realview.c')
-rw-r--r--hw/realview.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/realview.c b/hw/realview.c
index 4c24ac2..bbfa56b 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -85,10 +85,10 @@ static void realview_init(ram_addr_t ram_size,
pl050_init(0x10006000, pic[20], 0);
pl050_init(0x10007000, pic[21], 1);
- pl011_init(0x10009000, pic[12], serial_hds[0], PL011_ARM);
- pl011_init(0x1000a000, pic[13], serial_hds[1], PL011_ARM);
- pl011_init(0x1000b000, pic[14], serial_hds[2], PL011_ARM);
- pl011_init(0x1000c000, pic[15], serial_hds[3], PL011_ARM);
+ sysbus_create_simple("pl011", 0x10009000, pic[12]);
+ sysbus_create_simple("pl011", 0x1000a000, pic[13]);
+ sysbus_create_simple("pl011", 0x1000b000, pic[14]);
+ sysbus_create_simple("pl011", 0x1000c000, pic[15]);
/* DMA controller is optional, apparently. */
pl080_init(0x10030000, pic[24], 2);