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 | 86394e969de181d95f2f03e9c93e31e0b3e6c90f (patch) | |
tree | bd9c4af32e2b78d5a236463bf5e895e47c32a9f9 /hw/versatilepb.c | |
parent | a7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2 (diff) |
PL050 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r-- | hw/versatilepb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c index bde07bf4ca..d9e1cfc81e 100644 --- a/hw/versatilepb.c +++ b/hw/versatilepb.c @@ -186,8 +186,9 @@ static void versatile_init(ram_addr_t ram_size, pic = arm_pic_init_cpu(env); pic = pl190_init(0x10140000, pic[0], pic[1]); sic = vpb_sic_init(0x10003000, pic, 31); - pl050_init(0x10006000, sic[3], 0); - pl050_init(0x10007000, sic[4], 1); + + sysbus_create_simple("pl050_keyboard", 0x10006000, sic[3]); + sysbus_create_simple("pl050_mouse", 0x10007000, sic[4]); pci_bus = pci_vpb_init(sic, 27, 0); /* The Versatile PCI bridge does not provide access to PCI IO space, |