aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHollis Blanchard <hollis@penguinppc.org>2010-08-04 17:21:36 -0700
committerAlexander Graf <agraf@suse.de>2010-08-26 18:18:26 +0200
commita86299e53b77bfd9f80bfeb22f30e36b25233e5b (patch)
treec2e3a93be7165e260952961a3630107dafd1ee82
parentd23ab92064dd40c668b55544b9b654591e8b963c (diff)
ppc4xx: don't unregister RAM at reset
The PowerPC 4xx SDRAM controller emulation unregisters RAM in its reset callback. However, qemu_system_reset() is now called at initialization time, so all RAM is unregistered before starting the guest (!). Signed-off-by: Hollis Blanchard <hollis@penguinppc.org>
-rw-r--r--hw/ppc4xx_devs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ppc4xx_devs.c b/hw/ppc4xx_devs.c
index be130c41f2..7f698b8267 100644
--- a/hw/ppc4xx_devs.c
+++ b/hw/ppc4xx_devs.c
@@ -619,7 +619,6 @@ static void sdram_reset (void *opaque)
/* We pre-initialize RAM banks */
sdram->status = 0x00000000;
sdram->cfg = 0x00800000;
- sdram_unmap_bcr(sdram);
}
void ppc4xx_sdram_init (CPUState *env, qemu_irq irq, int nbanks,