From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z02h3-0000bO-Ny for qemu-devel@nongnu.org; Wed, 03 Jun 2015 03:02:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z02gy-0001Kg-Pc for qemu-devel@nongnu.org; Wed, 03 Jun 2015 03:02:29 -0400 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:34971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z02gy-0001KT-JU for qemu-devel@nongnu.org; Wed, 03 Jun 2015 03:02:24 -0400 Received: by padjw17 with SMTP id jw17so912868pad.2 for ; Wed, 03 Jun 2015 00:02:23 -0700 (PDT) Sender: Alistair Francis From: Alistair Francis Date: Wed, 3 Jun 2015 17:01:49 +1000 Message-Id: In-Reply-To: References: Subject: [Qemu-devel] [PATCH v1 8/8] target-microblaze: Remove dead code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, edgar.iglesias@xilinx.com Cc: peter.crosthwaite@xilinx.com, alistair.francis@xilinx.com 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 --- 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