aboutsummaryrefslogtreecommitdiff
path: root/hw/versatilepb.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
commit2e9bdce56f307db907f4d6533d3a3917259f859f (patch)
tree46ec3a61450149bd244e72730a8e4658e7434eb0 /hw/versatilepb.c
parent6f68ecb2c11d90212d6f7d06c857843d30abcfdc (diff)
PL110 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/versatilepb.c')
-rw-r--r--hw/versatilepb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/versatilepb.c b/hw/versatilepb.c
index 95de81fee3..f00ebf95c3 100644
--- a/hw/versatilepb.c
+++ b/hw/versatilepb.c
@@ -7,7 +7,7 @@
* This code is licenced under the GPL.
*/
-#include "hw.h"
+#include "sysbus.h"
#include "arm-misc.h"
#include "primecell.h"
#include "devices.h"
@@ -228,7 +228,7 @@ static void versatile_init(ram_addr_t ram_size,
/* The versatile/PB actually has a modified Color LCD controller
that includes hardware cursor support from the PL111. */
- pl110_init(0x10120000, pic[16], 1);
+ sysbus_create_simple("pl110_versatile", 0x10120000, pic[16]);
index = drive_get_index(IF_SD, 0, 0);
if (index == -1) {