aboutsummaryrefslogtreecommitdiff
path: root/target-microblaze/cpu.c
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2015-06-18 21:16:52 -0700
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2015-06-21 17:20:16 +1000
commitad7020a7e7b27d468ecc2aacb04ba4eb09017074 (patch)
tree06984e1b33772fe2e41739f2a0f0f6b83255dcca /target-microblaze/cpu.c
parent033af8e9aaba1994c4816cea5828aaddc383a907 (diff)
downloadqemu-ad7020a7e7b27d468ecc2aacb04ba4eb09017074.zip
qemu-ad7020a7e7b27d468ecc2aacb04ba4eb09017074.tar.gz
qemu-ad7020a7e7b27d468ecc2aacb04ba4eb09017074.tar.bz2
target-microblaze: Remove dead code
This code is already being run in the mb_cpu_realizefn() function. As PVR registers are preserved on reset this code is not required. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-microblaze/cpu.c')
-rw-r--r--target-microblaze/cpu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c
index ac390ce..c592bf7 100644
--- a/target-microblaze/cpu.c
+++ b/target-microblaze/cpu.c
@@ -179,10 +179,6 @@ static void mb_cpu_realizefn(DeviceState *dev, Error **errp)
env->sregs[SR_PC] = cpu->cfg.base_vectors;
-#if defined(CONFIG_USER_ONLY)
- env->pvr.regs[10] = 0x0c000000; /* Spartan 3a dsp. */
-#endif
-
mcc->parent_realize(dev, errp);
}