aboutsummaryrefslogtreecommitdiff
path: root/hw/sbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sbi.c')
-rw-r--r--hw/sbi.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/hw/sbi.c b/hw/sbi.c
index 101fba5ae6..3c8e95a362 100644
--- a/hw/sbi.c
+++ b/hw/sbi.c
@@ -131,26 +131,6 @@ static void sbi_reset(void *opaque)
}
}
-DeviceState *sbi_init(target_phys_addr_t addr, qemu_irq **parent_irq)
-{
- DeviceState *dev;
- SysBusDevice *s;
- unsigned int i;
-
- dev = qdev_create(NULL, "sbi");
- qdev_init(dev);
-
- s = sysbus_from_qdev(dev);
-
- for (i = 0; i < MAX_CPUS; i++) {
- sysbus_connect_irq(s, i, *parent_irq[i]);
- }
-
- sysbus_mmio_map(s, 0, addr);
-
- return dev;
-}
-
static void sbi_init1(SysBusDevice *dev)
{
SBIState *s = FROM_SYSBUS(SBIState, dev);