diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 09:32:21 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 09:32:21 +0000 |
commit | e43941318d22795df91682fec6720540ede6ad02 (patch) | |
tree | 79ec2322ea7cf2e5bc242c4fcc4c901003ecba60 /hw/ppc4xx_devs.c | |
parent | a01d6ef44622a2baf799a207809d090ca9882468 (diff) | |
download | qemu-e43941318d22795df91682fec6720540ede6ad02.zip qemu-e43941318d22795df91682fec6720540ede6ad02.tar.gz qemu-e43941318d22795df91682fec6720540ede6ad02.tar.bz2 |
PPC: remove unneeded calls to device reset
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ppc4xx_devs.c')
-rw-r--r-- | hw/ppc4xx_devs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ppc4xx_devs.c b/hw/ppc4xx_devs.c index 0b1c93b..98d40d0 100644 --- a/hw/ppc4xx_devs.c +++ b/hw/ppc4xx_devs.c @@ -304,7 +304,6 @@ qemu_irq *ppcuic_init (CPUState *env, qemu_irq *irqs, &dcr_read_uic, &dcr_write_uic); } qemu_register_reset(ppcuic_reset, uic); - ppcuic_reset(uic); return qemu_allocate_irqs(&ppcuic_set_irq, uic, UIC_MAX_IRQ); } @@ -639,7 +638,6 @@ void ppc4xx_sdram_init (CPUState *env, qemu_irq irq, int nbanks, memset(sdram->ram_sizes, 0, 4 * sizeof(target_phys_addr_t)); memcpy(sdram->ram_sizes, ram_sizes, nbanks * sizeof(target_phys_addr_t)); - sdram_reset(sdram); qemu_register_reset(&sdram_reset, sdram); ppc_dcr_register(env, SDRAM0_CFGADDR, sdram, &dcr_read_sdram, &dcr_write_sdram); |