[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 8/8] target-microblaze: Remove dead code
From: |
Alistair Francis |
Subject: |
[Qemu-devel] [PATCH v1 8/8] target-microblaze: Remove dead code |
Date: |
Wed, 3 Jun 2015 17:01:49 +1000 |
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 <address@hidden>
---
target-microblaze/cpu.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/target-microblaze/cpu.c b/target-microblaze/cpu.c
index 329d4d5..437250d 100644
--- a/target-microblaze/cpu.c
+++ b/target-microblaze/cpu.c
@@ -129,10 +129,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);
}
--
1.7.1
- Re: [Qemu-devel] [PATCH RESEND v1 4/8] target-microblaze: Convert version_mask to a CPU property, (continued)
[Qemu-devel] [PATCH v1 5/8] target-microblaze: Convert pvr-full to a CPU property, Alistair Francis, 2015/06/03
[Qemu-devel] [PATCH v1 6/8] ml605_mmu: Move the hardcoded values to the init function, Alistair Francis, 2015/06/03
[Qemu-devel] [PATCH v1 7/8] s3adsp1800: Remove the hardcoded values from the reset, Alistair Francis, 2015/06/03
[Qemu-devel] [PATCH v1 8/8] target-microblaze: Remove dead code,
Alistair Francis <=
[Qemu-devel] [PATCH RESEND v1 2/8] target-microblaze: Convert dcache-writeback to a CPU property, Alistair Francis, 2015/06/04