diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-08 20:24:47 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-08 20:24:47 +0000 |
commit | 4b48bf059b2824e09ca8062269b689a20528f16c (patch) | |
tree | 6cb03c3605b390f75fcd496948cdbf459d23608a /hw/eccmemctl.c | |
parent | 7204ff9c792e47339ea506ea1466e9f5c36f63b2 (diff) |
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.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", |