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 | 2e9bdce56f307db907f4d6533d3a3917259f859f (patch) | |
tree | 46ec3a61450149bd244e72730a8e4658e7434eb0 /hw/integratorcp.c | |
parent | 6f68ecb2c11d90212d6f7d06c857843d30abcfdc (diff) |
PL110 qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/integratorcp.c')
-rw-r--r-- | hw/integratorcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 8dfc63ed52..7f27d075c2 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -7,7 +7,7 @@ * This code is licenced under the GPL */ -#include "hw.h" +#include "sysbus.h" #include "primecell.h" #include "devices.h" #include "sysemu.h" @@ -495,7 +495,8 @@ static void integratorcp_init(ram_addr_t ram_size, pl181_init(0x1c000000, drives_table[sd].bdrv, pic[23], pic[24]); if (nd_table[0].vlan) smc91c111_init(&nd_table[0], 0xc8000000, pic[27]); - pl110_init(0xc0000000, pic[22], 0); + + sysbus_create_simple("pl110", 0xc0000000, pic[22]); integrator_binfo.ram_size = ram_size; integrator_binfo.kernel_filename = kernel_filename; |