diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:07 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-14 22:35:07 +0100 |
commit | a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2 (patch) | |
tree | f58239e2318822420d5209cfc5fbf87457c47a33 /hw/versatilepb.c | |
parent | 2e9bdce56f307db907f4d6533d3a3917259f859f (diff) | |
download | qemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.tar.gz qemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.tar.bz2 qemu-a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2.zip |
PL011 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r-- | hw/versatilepb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c index f00ebf95c3..bde07bf4ca 100644 --- a/hw/versatilepb.c +++ b/hw/versatilepb.c @@ -217,10 +217,10 @@ static void versatile_init(ram_addr_t ram_size, lsi_scsi_attach(scsi_hba, drives_table[index].bdrv, n); } - pl011_init(0x101f1000, pic[12], serial_hds[0], PL011_ARM); - pl011_init(0x101f2000, pic[13], serial_hds[1], PL011_ARM); - pl011_init(0x101f3000, pic[14], serial_hds[2], PL011_ARM); - pl011_init(0x10009000, sic[6], serial_hds[3], PL011_ARM); + sysbus_create_simple("pl011", 0x101f1000, pic[12]); + sysbus_create_simple("pl011", 0x101f2000, pic[13]); + sysbus_create_simple("pl011", 0x101f3000, pic[14]); + sysbus_create_simple("pl011", 0x10009000, sic[6]); pl080_init(0x10130000, pic[17], 8); sp804_init(0x101e2000, pic[4]); |