diff options
Diffstat (limited to 'hw/eccmemctl.c')
-rw-r--r-- | hw/eccmemctl.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c index dca397d1c3..2c6e4c61e4 100644 --- a/hw/eccmemctl.c +++ b/hw/eccmemctl.c @@ -335,22 +335,6 @@ static void ecc_init1(SysBusDevice *dev) ecc_reset(s); } -void ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version) -{ - DeviceState *dev; - SysBusDevice *s; - - dev = qdev_create(NULL, "eccmemctl"); - qdev_prop_set_uint32(dev, "version", version); - qdev_init(dev); - s = sysbus_from_qdev(dev); - sysbus_connect_irq(s, 0, irq); - sysbus_mmio_map(s, 0, base); - if (version == ECC_MCC) { // SS-600MP only - sysbus_mmio_map(s, 1, base + 0x1000); - } -} - static SysBusDeviceInfo ecc_info = { .init = ecc_init1, .qdev.name = "eccmemctl", |