aboutsummaryrefslogtreecommitdiff
path: root/hw/eccmemctl.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-08-08 20:24:47 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-08-08 20:24:47 +0000
commit4b48bf059b2824e09ca8062269b689a20528f16c (patch)
tree6cb03c3605b390f75fcd496948cdbf459d23608a /hw/eccmemctl.c
parent7204ff9c792e47339ea506ea1466e9f5c36f63b2 (diff)
downloadqemu-4b48bf059b2824e09ca8062269b689a20528f16c.zip
qemu-4b48bf059b2824e09ca8062269b689a20528f16c.tar.gz
qemu-4b48bf059b2824e09ca8062269b689a20528f16c.tar.bz2
Sparc32: move device instantiation to sun4m.c
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/eccmemctl.c')
-rw-r--r--hw/eccmemctl.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index dca397d..2c6e4c6 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",