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
commit86394e969de181d95f2f03e9c93e31e0b3e6c90f (patch)
treebd9c4af32e2b78d5a236463bf5e895e47c32a9f9 /hw/realview.c
parenta7d518a61bfdfc5e171b1aaf0bad77ae0bbeb0c2 (diff)
PL050 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/realview.c')
-rw-r--r--hw/realview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/realview.c b/hw/realview.c
index bbfa56b1c8..3ec8a3cb75 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -82,8 +82,8 @@ static void realview_init(ram_addr_t ram_size,
pic = mpcore_irq_init(cpu_irq);
}
- pl050_init(0x10006000, pic[20], 0);
- pl050_init(0x10007000, pic[21], 1);
+ sysbus_create_simple("pl050_keyboard", 0x10006000, pic[20]);
+ sysbus_create_simple("pl050_mouse", 0x10007000, pic[21]);
sysbus_create_simple("pl011", 0x10009000, pic[12]);
sysbus_create_simple("pl011", 0x1000a000, pic[13]);