summaryrefslogtreecommitdiff
path: root/hw/integratorcp.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
commit7f68ba62acf104e4fed2a36944dff62325b72227 (patch)
treebd9c4af32e2b78d5a236463bf5e895e47c32a9f9 /hw/integratorcp.c
parent88cfa6d2feebff38a35c18f13d8a42e2a303e88c (diff)
downloadqemu-7f68ba62acf104e4fed2a36944dff62325b72227.tar.gz
qemu-7f68ba62acf104e4fed2a36944dff62325b72227.tar.bz2
qemu-7f68ba62acf104e4fed2a36944dff62325b72227.zip
PL050 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/integratorcp.c')
-rw-r--r--hw/integratorcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/integratorcp.c b/hw/integratorcp.c
index 3327b5ea8e..3c7e25ff20 100644
--- a/hw/integratorcp.c
+++ b/hw/integratorcp.c
@@ -485,8 +485,8 @@ static void integratorcp_init(ram_addr_t ram_size,
sysbus_create_simple("pl011", 0x16000000, pic[1]);
sysbus_create_simple("pl011", 0x17000000, pic[2]);
icp_control_init(0xcb000000);
- pl050_init(0x18000000, pic[3], 0);
- pl050_init(0x19000000, pic[4], 1);
+ sysbus_create_simple("pl050_keyboard", 0x18000000, pic[3]);
+ sysbus_create_simple("pl050_mouse", 0x19000000, pic[4]);
sd = drive_get_index(IF_SD, 0, 0);
if (sd == -1) {
fprintf(stderr, "qemu: missing SecureDigital card\n");