From 86394e969de181d95f2f03e9c93e31e0b3e6c90f Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 14 May 2009 22:35:07 +0100 Subject: PL050 qdev conversion Signed-off-by: Paul Brook --- hw/integratorcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/integratorcp.c') diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 3327b5ea8..3c7e25ff2 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"); -- cgit v1.2.3